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.

RibbonPage.BorderThickness Property

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

Namespace: DevExpress.Xpf.Ribbon

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

Declaration

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

Property Value

Type Description
Thickness

A Thickness value which specifies a RibbonPage's border thickness in pixels.

Remarks

The following code sample specifies the RibbonPage's Background, Foreground, BorderBrush, BorderThickness, and CornerRadius properties:

<dx:ThemedWindow ...
  xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon" 
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core">
  <dxr:RibbonControl RibbonStyle="Office2019">
    <dxr:RibbonDefaultPageCategory>
      <dxr:RibbonPage Caption="Home" Background="AliceBlue" Foreground="DarkGoldenrod">
        <!-- ... -->
      </dxr:RibbonPage>
      <dxr:RibbonPage Caption="Page" Background="Bisque" BorderBrush="ForestGreen"
                      BorderThickness="2" CornerRadius="5">
        <!-- ... -->
      </dxr:RibbonPage>
    </dxr:RibbonDefaultPageCategory>
  </dxr:RibbonControl>
</dx:ThemedWindow>

RibbonPage - Standard Properties

NOTE

The property is supported in the following DevExpress themes:

Theme Family Themes
Office 2019 Black, Colorful, Dark Gray, White, HighContrast
Visual Studio 2019 Blue, Dark, Light
Office 2016 SE Black, Colorful, Dark Gray, White
Visual Studio 2017 Blue, Dark, Light
See Also