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.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
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.