AppointmentLabelCollection.CreateNewLabel(Object, String, String, Color) Method

Creates a new AppointmentLabel object.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v21.2.dll


public AppointmentLabel CreateNewLabel(
    object id,
    string displayName,
    string menuCaption,
    Color color


Name Type Description
id Object

The unique user interface object identifier of the appointment label.

displayName String

A string containing the label name.

menuCaption String

A string containing the menu caption for the command used to set the label for an appointment.

color Color

A Color specifying the color that represents the label.


Type Description

A newly cleated AppointmentLabel object.

See Also