Adorner.GetLayoutClip Method (Size)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

For a description of this member, see GetLayoutClip.

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

protected override Geometry GetLayoutClip(
	Size layoutSlotSize
)

Parameters

layoutSlotSize
Type: System.Windows.Size

The available size provided by the element.

Return Value

Type: System.Windows.Media.Geometry

The potential clipping geometry. See Remarks.

This implementation always returns null.

This method overrides GetLayoutClip.

To ensure that adorners are always rendered topmost, clipping constraints are ignored unless IsClipEnabled is true. This enables an adorner to render outside of the adorned element's bounding rectangle.

.NET Framework
Available since 3.0
Return to top
Show: