GridViewColumnHeader.Role Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan peran dari GridViewColumnHeader.
public:
property System::Windows::Controls::GridViewColumnHeaderRole Role { System::Windows::Controls::GridViewColumnHeaderRole get(); };
public System.Windows.Controls.GridViewColumnHeaderRole Role { get; }
member this.Role : System.Windows.Controls.GridViewColumnHeaderRole
Public ReadOnly Property Role As GridViewColumnHeaderRole
Nilai Properti
Nilai GridViewColumnHeaderRole enumerasi yang menentukan peran kolom saat ini.
Keterangan
Kelas GridViewHeaderRowPresenter melakukan tata letak untuk header kolom di dan GridView menempatkan header kolom tambahan di akhir untuk menambahkan spasi. Nilai RolePadding mengidentifikasi header kolom ini di GridView. Role Nilai Floating mengidentifikasi kolom yang saat ini menjadi objek operasi seret dan letakkan.
Informasi Properti Dependensi
| Barang | Nilai |
|---|---|
| Bidang pengidentifikasi | RoleProperty |
Properti metadata diatur ke true |
Tidak |