Back to Devexpress

CompatibilitySettings.UseLegacyCalendarInDateNavigator Property

corelibraries-devexpress-dot-xpf-dot-core-dot-compatibilitysettings-deb14415.md

latest1.8 KB
Original Source

CompatibilitySettings.UseLegacyCalendarInDateNavigator Property

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

Namespace : DevExpress.Xpf.Core

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

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

Declaration

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

Property Value

TypeDescription
Boolean

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

|

Remarks

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

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

See Also

CompatibilitySettings Class

CompatibilitySettings Members

DevExpress.Xpf.Core Namespace