Scheduler for WPF
ラベル
予定 > ラベル

ラベルは、予定に追加できる色分けされたマーカーです。ラベルを設定したユーザーおよび他のユーザーは、予定の詳細を表示することなく、その予定の種類を確認できます。

Scheduler for WPF には、12 個の定義済みラベルが用意されています。ラベルの色は、C1Scheduler コントロールのすべてのデータビューに表示されます。

定義済みのラベル

定義済みのラベルは次のとおりです。

ラベル インデックス
なし 0
重要 1
ビジネス 2
個人用 3
休暇 4
締め切り 5
要出席 6
出張 7
要準備 8
誕生日 9
記念日 10
電話連絡 11

To add a label associated to an appointment programmatically, you can use Label property of the Appointment class and set its index (from the above table) based on your requirements. For instance, the following code demonstrates how you can add "Important" label to an appointment:

C#
コードのコピー
//Showing Labels
// adding 'Important' label.
appointment.Label = scheduler.DataStorage.LabelStorage.Labels[1];