VisualElement.Clip Property
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.