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"/>

属性值

内容演示者的边框粗细,作为 “厚度” 值。

适用于