Version

IntersectChildElementInvalidRect Method (ImageAndTextUIElementEx)

Invoked by the child elements to determine the intersection of the child element's rectangle with the invalid rect.
Syntax
'Declaration
 
Protected Overrides Function IntersectChildElementInvalidRect( _
   ByVal element As UIElement, _
   ByVal invalidRect As Rectangle, _
   ByVal rightToLeftOffset As Integer, _
   ByVal zoomFactor As Single _
) As Rectangle
protected override Rectangle IntersectChildElementInvalidRect( 
   UIElement element,
   Rectangle invalidRect,
   int rightToLeftOffset,
   float zoomFactor
)

Parameters

element
Child elements whose intersecting rect is to be returned
invalidRect
Invalid rect
rightToLeftOffset
Specifies an offset of the element rect for RightToLeft.
zoomFactor
The zoom factor.

Return Value

The intersection of the child element's rect with the invalid rect.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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