RibbonCheckBoxStyleSettings.CheckedHoverBorderBrush Property
In This Article
Gets or sets a RibbonCheckBox‘s hovered state border brush when the checkbox is checked. This is a dependency property.
Namespace: DevExpress.WinUI.Ribbon
Assembly: DevExpress.WinUI.Ribbon.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "OnContentChanged")]
public Brush CheckedHoverBorderBrush { get; set; }
#Property Value
Type | Description |
---|---|
Brush | A brush that describes the hovered Ribbon |
#Remarks
The following code sample changes the RibbonCheckBox‘s colors to green:
<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:RibbonCheckBox Text="Ruler">
<dxr:RibbonCheckBox.StyleSettings>
<dxr:RibbonCheckBoxStyleSettings NormalBackground="#220E7835"
NormalBorderBrush="#770E7835"
HoverBackground="#440E7835"
CheckedPressedForeground="#FF0E7835"
CheckedPressedBackground="#AA0E7835"
CheckedPressedBorderBrush="#770E7835"
CheckedForeground="#AA0E7835"
CheckedBackground="#550E7835"
CheckedBorderBrush="#770E7835"
CheckedHoverBackground="#FF0E7835"
CheckedHoverBorderBrush="#FF0E7835"/>
</dxr:RibbonCheckBox.StyleSettings>
</dxr:RibbonCheckBox>
</dxr:RibbonGroup>
</dxr:RibbonTab>
</dxr:RibbonControl.Tabs>
</dxr:RibbonControl>
</Grid>
</Window>
See Also