VisualDateCell.AlternateTemplate Property
Gets or sets the template used to define the visual presentation of the today’s date header or today’s date cell.
Namespace: DevExpress.Xpf.Scheduler.Drawing
Assembly: DevExpress.Xpf.Scheduler.v19.1.dll
Declaration
Property Value
Type | Description |
---|---|
ControlTemplate | A ControlTemplate object that is a template for a date header or date cell corresponding to today’s date. |
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.
Use the AlternateTemplate property to obtain or specify the template for date headers and date cells corresponding to today’s date (for these elements the VisualDateCell.IsAlternate property is set to true).
To specify a template for date headers and date cells corresponding to the remaining dates, use the VisualDateCell.NormalTemplate property.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AlternateTemplate 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.