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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.