ContentPresenter.BorderBrush ContentPresenter.BorderBrush ContentPresenter.BorderBrush ContentPresenter.BorderBrush Property

Definition

Gets or sets a brush that describes the border fill of the content presenter.

public : Brush BorderBrush { get; set; }
Brush BorderBrush();

void BorderBrush(Brush borderbrush);
public Brush BorderBrush { get; set; }
Public ReadWrite Property BorderBrush As Brush
<ContentPresenter BorderBrush="{StaticResource resourceName}"/>

Property Value

The brush that is used to fill the content presenter's border. The default is null, (a null brush) which is evaluated as Transparent for rendering.

Remarks

The BorderThickness value must be greater than 0 in order to see the BorderBrush value take effect.