RibbonSeparator Class
In This Article
A line that separates neighboring RibbonItems within a single RibbonGroup.
Namespace: DevExpress.WinUI.Ribbon
Assembly: DevExpress.WinUI.Ribbon.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Remarks
The RibbonSeparator moves items that are defined after the separator to the top of the next ribbon column.
#Change a Separator’s Color
Use the RibbonSeparatorStyleSettings.Background property to specify the color of the RibbonSeparator:
<Window ...
xmlns:dxr="using:DevExpress.WinUI.Ribbon"
xmlns:dxc="using:DevExpress.WinUI.Core">
<Grid>
<dxr:RibbonControl>
<dxr:RibbonControl.Tabs>
<dxr:RibbonTab Caption="Home">
<dxr:RibbonGroup Caption="File">
<!-- ... -->
<dxr:RibbonSeparator>
<dxr:RibbonSeparator.StyleSettings>
<dxr:RibbonSeparatorStyleSettings Background="#770E7835"/>
</dxr:RibbonSeparator.StyleSettings>
</dxr:RibbonSeparator>
</dxr:RibbonGroup>
</dxr:RibbonTab>
</dxr:RibbonControl.Tabs>
</dxr:RibbonControl>
</Grid>
</Window>
#Inheritance
Object
DependencyObject
UIElement
FrameworkElement
DevExpress.WinUI.Core.Internal.DXLogicalFrameworkElement
See Also