Bagikan melalui


VisualElement.Clip Properti

Definisi

Menentukan wilayah kliping untuk elemen. Ini adalah properti yang dapat diikat.

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

Nilai Properti

Atribut

Keterangan

Saat elemen dirender, hanya bagian elemen yang berada di dalam kliping Geometry yang ditampilkan, sementara konten apa pun yang meluas di luar wilayah kliping dipotong (yaitu, tidak ditampilkan).

Berlaku untuk