Back to Devexpress

AppointmentStatusDataStorage.DataSource Property

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentstatusdatastorage-ead951b7.md

latest2.9 KB
Original Source

AppointmentStatusDataStorage.DataSource Property

Gets or sets the source from which this AppointmentStatusDataStorage should retrieve Statuses.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Data")]
public object DataSource { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Data")>
Public Property DataSource As Object

Property Value

TypeDefaultDescription
Objectnull

An Object that is the Status source.

|

Remarks

After you bind the AppointmentStatusDataStorage to a Status source, specify Status Mappings to map Status properties to the correct data source fields.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-bind-to-custom-objects/CS/CustomObjectsBinding/Form1.cs#L131

csharp
schedulerDataStorage1.Statuses.DataSource = CustomStatusList;
}

winforms-scheduler-bind-to-custom-objects/VB/CustomObjectsBinding/Form1.vb#L136

vb
schedulerDataStorage1.Statuses.DataSource = CustomStatusList
End Sub

See Also

AppointmentStatusDataStorage Class

AppointmentStatusDataStorage Members

DevExpress.XtraScheduler Namespace