LayoutInformation.GetLayoutClip Method

Returns the visible region of the specified element.

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

public static Geometry GetLayoutClip(
	FrameworkElement element


Type: System.Windows.FrameworkElement
The element whose layout clip geometry is desired.

Return Value

Type: System.Windows.Media.Geometry
The visible region of the clipped element, or null if the element was not clipped during layout.


element is null.

The following image shows the dimensions of a parent panel, its child element, the child's layout slot, and the layout clip that contains the child.

Layout Clip


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.