RibbonSeparatorStyleSettings.Background Property
In This Article
Gets or sets a RibbonSeparator‘s background. This is a dependency property.
Namespace: DevExpress.WinUI.Ribbon
Assembly: DevExpress.WinUI.Ribbon.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Property Value
Type | Description |
---|---|
Brush | A brush that describes the Ribbon |
#Remarks
Use the 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>
See Also