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.ContentBorderStyle Property

Gets or sets a style applied to the RibbonPage's contents. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

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

Declaration

public Style ContentBorderStyle { get; set; }
Public Property ContentBorderStyle As Style

Property Value

Type Description
Style

A Style object applied to the RibbonPage's contents.

Remarks

The following code sample specifies the RibbonPageGroup content's Background, CornerRadius, Margin, and Padding 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>
    <dxr:RibbonDefaultPageCategory>
      <dxr:RibbonPage Caption="Home" >
        <dxr:RibbonPage.ContentBorderStyle>
          <Style TargetType="Border">
            <Setter Property="Background" Value="PaleGreen"/>
            <Setter Property="CornerRadius" Value="10,10,0,0"/>
            <Setter Property="Margin" Value="0,10,0,0"/>
            <Setter Property="Padding" Value="10"/>
          </Style>
        </dxr:RibbonPage.ContentBorderStyle>
        <!-- ...   -->
      </dxr:RibbonPage>
    </dxr:RibbonDefaultPageCategory>
  </dxr:RibbonControl>
</dx:ThemedWindow>

RibbonPageGroup - Standard Properties

See Also