All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Bar.BorderThickness Property

Gets or sets the thickness of the Bar's border. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public Thickness BorderThickness { get; set; }
Public Property BorderThickness As Thickness

Property Value

Type Description
Thickness

A Thickness value which specifies the bar's border thickness in pixels.

Remarks

The following code sample displays a 1 pixel BarCheckItem's border (the Bar.BorderThickness property) and sets the border color to red (the Bar.BorderBrush property):

<Window ...
  xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars">
  <Grid>
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*"/>
      <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <dxb:BarContainerControl ContainerType="Top" Grid.Row="0">
      <dxb:MainMenuControl Caption="Main Menu">
        <dxb:BarCheckItem Content="Open" BorderThickness="1" BorderBrush="Red"/>
      </dxb:MainMenuControl>
    </dxb:BarContainerControl>
  </Grid>
</Window>

WPF Bars - BorderThickness Property

See Also