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.v24.2.dll

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