Jaa


RelativePanel.BorderBrush Property

Definition

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

public:
 property Brush ^ BorderBrush { Brush ^ get(); void set(Brush ^ value); };
Brush BorderBrush();

void BorderBrush(Brush value);
public Brush BorderBrush { get; set; }
var brush = relativePanel.borderBrush;
relativePanel.borderBrush = brush;
Public Property BorderBrush As Brush
<RelativePanel BorderBrush="{StaticResource resourceName}"/>
- or -
<RelativePanel BorderBrush="colorString"/>
- or -
<RelativePanel>
  <RelativePanel.BorderBrush>singleBrush</RelativePanel.BorderBrush>
</RelativePanel>

Property Value

The brush that is used to fill the panel'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.

Applies to