AppointmentLabel(Color, String) Constructor
OBSOLETE
Use CreateNewLabel instead.
Initializes a new instance of the AppointmentLabel class with the specified settings.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduler
Declaration
[Obsolete("Use CreateNewLabel instead.", false)]
public AppointmentLabel(
Color color,
string displayName
)
Parameters
Name | Type |
---|---|
color | Color |
displayName | String |
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 AppointmentLabelCollection.CreateNewLabel method instead.
See Also