Szerkesztés

Megosztás a következőn keresztül:


Adorner.GetLayoutClip(Size) Method

Definition

For a description of this member, see GetLayoutClip(Size).

protected:
 override System::Windows::Media::Geometry ^ GetLayoutClip(System::Windows::Size layoutSlotSize);
protected override System.Windows.Media.Geometry GetLayoutClip (System.Windows.Size layoutSlotSize);
override this.GetLayoutClip : System.Windows.Size -> System.Windows.Media.Geometry
Protected Overrides Function GetLayoutClip (layoutSlotSize As Size) As Geometry

Parameters

layoutSlotSize
Size

The available size provided by the element.

Returns

The potential clipping geometry.

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.

Applies to