Version

GetScreenRectForFrameworkElement Method (XamOutlookBarProxy)

Correctly identifies the region of click for each individual control/sub-item of the OutlookBar. It determines the bottomRight point from the control's ActualHeight and ActualWidth as opposed to the entire rectangle's Height and Width
Syntax
'Declaration
 
Protected Shared Function GetScreenRectForFrameworkElement( _
   ByVal fwElem As System.Windows.FrameworkElement _
) As System.Windows.Rect
protected static System.Windows.Rect GetScreenRectForFrameworkElement( 
   System.Windows.FrameworkElement fwElem
)
protected: static System.Windows.Rect GetScreenRectForFrameworkElement( 
   System.Windows.FrameworkElement* fwElem
) 

Parameters

fwElem
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also