Border.BorderThickness Özellik

Tanım

bir Borderöğesinin görelisini Thickness alır veya ayarlar.

public:
 property System::Windows::Thickness BorderThickness { System::Windows::Thickness get(); void set(System::Windows::Thickness value); };
public System.Windows.Thickness BorderThickness { get; set; }
member this.BorderThickness : System.Windows.Thickness with get, set
Public Property BorderThickness As Thickness

Özellik Değeri

sınırlarının Thickness genişliğini Borderaçıklayan . Bu özelliğin varsayılan değeri yok.

Örnekler

Aşağıdaki örnekte bu özelliğin değerinin nasıl ayarlanacağı gösterilmektedir.

myBorder1 = new Border();
myBorder1.BorderBrush = Brushes.SlateBlue;
myBorder1.BorderThickness = new Thickness(5, 10, 15, 20);
myBorder1.Background = Brushes.AliceBlue;
myBorder1.Padding = new Thickness(5);
myBorder1.CornerRadius = new CornerRadius(15);
Dim myBorder1 As New Border()
myBorder1.BorderBrush = Brushes.SlateBlue
myBorder1.BorderThickness = New Thickness(5, 10, 15, 20)
myBorder1.Background = Brushes.AliceBlue
myBorder1.Padding = New Thickness(5)
myBorder1.CornerRadius = New CornerRadius(15)
<Border BorderBrush="SlateBlue" BorderThickness="5,10,15,20" Background="AliceBlue" Padding="5" CornerRadius="15">

Açıklamalar

Bağımlılık Özelliği Bilgileri

Tanımlayıcı alanı BorderThicknessProperty
Meta veri özellikleri olarak ayarlandı true AffectsMeasure, AffectsRender

Şunlara uygulanır