CompatibilitySettings.UseLegacyCalendarInDateNavigator Property
In This Article
Gets or sets whether the legacy calendar is used in the DateNavigator.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.Desktop.v24.2.dll
NuGet Packages: DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design
#Declaration
#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