Share via


ScalableImage.GetLayoutClip(Size) Method

Definition

Override of . Make this control to respect the ClipToBounds attribute value.

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

An instance of Size used for calculating an additional clip.

Returns

Geometry to use as an additional clip in case when element is larger than available space

Applies to