VisualDateCell.IsAlternate Property
Gets or sets a value that specifies whether a data header or date cell that corresponds to today’s date is highlighted within the Scheduler control.
Namespace: DevExpress.Xpf.Scheduler.Drawing
Assembly: DevExpress.Xpf.Scheduler.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the today’s date header or today’s date cell is highlighted; otherwise, false. |
Remarks
Important
You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
If the IsAlternate property is set to true, the visual representation of the today’s date cell and date header of the Week and Month views and date header of the Day and Work-Week views can be customized using a template available via the VisualDateCell.AlternateTemplate property.
Templates for date headers and date cells corresponding to all other dates except today’s date (the IsAlternate property is set to false) are specified via the VisualDateCell.NormalTemplate property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsAlternate property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.