wpf-devexpress-dot-xpf-dot-editors-dot-datenavigator-dot-datenavigatorstateappearance-4ea307e2.md
Gets or sets the cell’s corner radius. This is a dependency property.
Namespace : DevExpress.Xpf.Editors.DateNavigator
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public CornerRadius? CornerRadius { get; set; }
Public Property CornerRadius As CornerRadius?
| Type | Description |
|---|---|
| Nullable<CornerRadius> |
A Nullable CornerRadius value that specifies the cell’s corner radius.
|
The following code sample sets cells‘ Background to Red and CornerRadius to 5 and changes the cell’s Background to Green when the mouse pointer is over the cell:
<Window ...
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
<dxe:DateNavigator>
<dxe:DateNavigator.Appearance>
<dxe:DateNavigatorCellAppearance>
<dxe:DateNavigatorCellAppearance.NormalState>
<dxe:DateNavigatorStateAppearance Background="Red" CornerRadius="5"/>
</dxe:DateNavigatorCellAppearance.NormalState>
<dxe:DateNavigatorCellAppearance.MouseOverState>
<dxe:DateNavigatorStateAppearance Background="Green"/>
</dxe:DateNavigatorCellAppearance.MouseOverState>
</dxe:DateNavigatorCellAppearance>
</dxe:DateNavigator.Appearance>
</dxe:DateNavigator>
</Window>
See Also
DateNavigatorStateAppearance Class