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

AppointmentLabelCollection.GetById(Object) Method

Obtains a label object specified by its identifier.

Namespace: DevExpress.Xpf.Scheduler

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

Declaration

public AppointmentLabel GetById(
    object id
)

Parameters

Name Type Description
id Object

An object that is the identifier of the appointment label.

Returns

Type Description
AppointmentLabel

An AppointmentLabel object with the specified UserInterfaceObject.Id property value if found; otherwise, a new AppointmentLabel object is created with empty settings.

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.

See Also