All docs
V21.2
21.2
21.1
20.2
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.

RibbonPageGroup.CornerRadius Property

Gets or sets the RibbonPageGroup‘s corner radius. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v21.2.dll

Declaration

public CornerRadius CornerRadius { get; set; }

Property Value

Type Description
CornerRadius

A CornerRadius value that specifies the RibbonPageGroup‘s corner radius.

Remarks

The following code sample specifies the RibbonPageGroup‘s Background, Foreground, BorderBrush, BorderThickness, 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:RibbonPageGroup Name="pgFile" Caption="File" ShowCaptionButton="True" 
                             Background="AliceBlue" Foreground="DarkGoldenrod" Margin="0,0,10,0">
        <!-- ...   -->
        </dxr:RibbonPageGroup>
        <dxr:RibbonPageGroup Caption="Edit" ShowCaptionButton="True" Background="Bisque" 
                             BorderBrush="ForestGreen" BorderThickness="2" 
                             CornerRadius="5" Padding="10,0,10,0">
          <!-- ...   -->
        </dxr:RibbonPageGroup>
      </dxr:RibbonPage>
    </dxr:RibbonDefaultPageCategory>
  </dxr:RibbonControl>
</dx:ThemedWindow>

RibbonPageGroup - Standard Properties

Note

The property is supported in the following DevExpress themes:

Theme Family Themes
Windows 10 Dark, Light
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