Skip to main content
A newer version of this page is available. .

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

Creates a new AppointmentLabel object.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

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

Parameters

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.

Returns

Type Description
AppointmentLabel

A newly cleated AppointmentLabel object.

See Also