Share via


VisualElement.Clip Property

Definition

Specifies the clipping region for an element. This is a bindable property.

public:
 property Microsoft::Maui::Controls::Shapes::Geometry ^ Clip { Microsoft::Maui::Controls::Shapes::Geometry ^ get(); void set(Microsoft::Maui::Controls::Shapes::Geometry ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Shapes.PathGeometryConverter))]
public Microsoft.Maui.Controls.Shapes.Geometry Clip { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.Shapes.PathGeometryConverter))>]
member this.Clip : Microsoft.Maui.Controls.Shapes.Geometry with get, set
Public Property Clip As Geometry

Property Value

Attributes

Remarks

When an element is rendered, only the portion of the element that falls inside the clipping Geometry is displayed, while any content that extends outside the clipping region is clipped (that is, not displayed).

Applies to