Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Canvas.GetLayoutClip Method (Size)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 Overrides Function GetLayoutClip (
	layoutSlotSize As Size
) As Geometry


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
© 2018 Microsoft