ContentPresenter.BorderThickness Property

Definition

Gets or sets the border thickness of the content presenter.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.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"/>

Property Value

Thickness

The border thickness of the content presenter, as a Thickness value.

Applies to