LayoutInformation.GetLayoutClip Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns the visible region of the specified element.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Public Shared Function GetLayoutClip ( _ element As FrameworkElement _ ) As Geometry
Parameters
- element
- Type: System.Windows.FrameworkElement
The element whose layout clip geometry is desired.
Return Value
Type: System.Windows.Media.GeometryThe visible region of the clipped element, or Nothing if the element was not clipped during layout.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is Nothing. |
Show:
