Skip to main content
A newer version of this page is available. .

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

Declaration

public DateTime FocusedDate { get; set; }

Property Value

Type Description
DateTime

A DateTime that is the date where focus is set.

Remarks

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.

DateNavigator

See Also