VisualElement.Clip 屬性

定義

指定專案的裁剪區域。 這是可繫結屬性。

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

屬性值

屬性

備註

轉譯專案時,只會顯示落在裁剪 Geometry 內的元素部分,而任何在裁剪區域外延伸的內容都會裁剪 (,而不會顯示) 。

適用於