Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Wpf.Core


public Thickness BorderThickness { get; set; }

Property Value

Type Description

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


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 ...
      <RowDefinition Height="Auto" />
      <RowDefinition Height="*"/>
      <RowDefinition Height="Auto"/>
    <dxb:BarContainerControl ContainerType="Top" Grid.Row="0">
      <dxb:MainMenuControl Caption="Main Menu">
        <dxb:BarCheckItem Content="Open" BorderThickness="1" BorderBrush="Red"/>

WPF Bars - BorderThickness Property

See Also