Skip to main content

AppointmentLabel(Color, String) Constructor

Initializes a new instance of the AppointmentLabel class with the specified color and display name.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v14.2.dll

#Declaration

public AppointmentLabel(
    Color color,
    string displayName
)

#Parameters

Name Type Description
color Color

A Color value that specifies the color of the appointment label. This value is assigned to the AppointmentLabel.Color property.

displayName String

A String value that specifies the text of the appointment label. This value is assigned to the UserInterfaceObject.DisplayName property.

#Remarks

The UserInterfaceObject.MenuCaption property will be set to the displayName parameter value.

See Also