Adorner.GetLayoutClip(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.