Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DateNavigator.FocusedDate Property

Gets or sets the date in a calendar that has focus. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.DateNavigator

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DateTime FocusedDate { get; set; }

#Property Value

Type Description
DateTime

The date where focus is set.

#Remarks

When you click a date, it becomes selected. You can change the selected date with Arrow keys. If you use Arrow keys while holding the Ctrl key down, the previously selected date remains unchanged, but focus moves to another date.

Tip

You can focus only one date.

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

DateNavigator

See Also