GetLayoutClip Method

Canvas.GetLayoutClip Method (Size)


Returns a clipping geometry that indicates the area that will be clipped if the ClipToBounds property is set to true.

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

protected override Geometry GetLayoutClip(
	Size layoutSlotSize


Type: System.Windows.Size

The available size of the element.

Return Value

Type: System.Windows.Media.Geometry

A Geometry that represents the area that is clipped if ClipToBounds is true.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft