LayoutInformation.GetLayoutClip Method (FrameworkElement)

 

Returns a Geometry that represents the visible region of an element.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static Geometry GetLayoutClip(
	FrameworkElement element
)

Parameters

element
Type: System.Windows.FrameworkElement

The FrameworkElement whose layout clip is desired.

Return Value

Type: System.Windows.Media.Geometry

A Geometry that represents the visible region of an element.

If a LayoutTransform has been applied to the element, the returned Geometry can be non-rectangular.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: