Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public bool IsAlternate { get; set; }

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.

See Also