Skip to main content

CompatibilitySettings.UseLegacyCalendarInDateNavigator Property

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

Namespace: DevExpress.Xpf.Core

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

NuGet Packages: DevExpress.Data.Desktop, DevExpress.Win.Dashboard.Design, DevExpress.Win.Design

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