共用方式為


ContentPresenter.BorderThickness 屬性

定義

取得或設定內容演示者的框線粗細。

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

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

屬性值

內容演示者的框線粗細,做為 [粗細 ] 值。

適用於