All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

CompatibilitySettings.UseLegacyCalendarInDateNavigator Property

Gets or sets whether the legacy calendar is used in the DateNavigator.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Data.Desktop.v20.1.dll

Declaration

public static bool UseLegacyCalendarInDateNavigator { get; set; }
Public Shared Property UseLegacyCalendarInDateNavigator As Boolean

Property Value

Type Description
Boolean

true, to use the legacy calendar; otherwise, false.

Remarks

The following code sample uses the legacy DateNavigator's calendar:

...
public partial class App : Application
  {
    protected override void OnStartup(StartupEventArgs e)
      {
        CompatibilitySettings.UseLegacyCalendarInDateNavigator = true;
        base.OnStartup(e);
      }
  }
See Also