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

CompatibilitySettings.UseLegacyCalendarInDateNavigator Property

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

Namespace: DevExpress.Xpf.Core

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

NuGet Packages: DevExpress.Data.Desktop, DevExpress.WindowsDesktop.DataDesktop

Declaration

public static bool UseLegacyCalendarInDateNavigator { get; set; }

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