Canvas.GetLayoutClip(Size) Method

Definition

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

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 of the element.

Returns

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

Applies to

See also