A newer version of this page is available. Switch to the current version.

DateNavigator.FocusedDate Property

The date in calendar that has focus. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

Assembly: DevExpress.Xpf.Core.v18.2.dll


public DateTime FocusedDate { get; set; }

Property Value

Type Description

A DateTime that is the date where focus is set.


You should distinguish between a selected date and a focused date. When you click a date, it becomes selected. You can change selected date using ARROW keys. If you use ARROW keys while holding the CTRL key down, the previously selected date will remain unchanged, but focus will be moved to another date. There can be several selected dates or an entire selected range, but only one date can be focused.

Use the FocusedDate property to programmatically move focus to the specified date in the DateNavigator control.


See Also