Control.BorderThickness Properti

Definisi

Mendapatkan atau mengatur ketebalan batas kontrol.

public:
 property Thickness BorderThickness { Thickness get(); void set(Thickness value); };
Thickness BorderThickness();

void BorderThickness(Thickness value);
public Thickness BorderThickness { get; set; }
var thickness = control.borderThickness;
control.borderThickness = thickness;
Public Property BorderThickness As Thickness
<control BorderThickness="uniform"/>
- or -
<control BorderThickness="left&right,top&bottom"/>
- or -
<control BorderThickness="left,top,right,bottom"/>

Nilai Properti

Ketebalan batas kontrol, sebagai nilai Ketebalan .

Keterangan

Setiap kontrol mungkin menerapkan properti ini secara berbeda berdasarkan templat visualnya. Properti ini hanya memengaruhi kontrol yang templatnya menggunakan properti BorderThickness sebagai parameter. Pada kontrol lain, properti ini tidak berpengaruh. Untuk informasi selengkapnya tentang templat visual, lihat properti Templat .

Berlaku untuk

Lihat juga