[]
        
(Showing Draft Content)

C1.Schedule.LabelCollection

LabelCollection Class

The LabelCollection is a collection of Label objects which represents all available labels in C1Schedule object model.

Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class LabelCollection : BaseCollection<Label>, IList<Label>, ICollection<Label>, IList, ICollection, IReadOnlyList<Label>, IReadOnlyCollection<Label>, IEnumerable<Label>, IEnumerable, INotifyCollectionChanged
Remarks

By default it contains the following set of predefined labels:

  • None
  • Important
  • Business
  • Personal
  • Vacation
  • Must Attend
  • Deadline
  • Travel Required
  • Needs Preparation
  • Birthday
  • Anniversary
  • Phone Call

Constructors

Name Description
LabelCollection()

Initializes a new instance of the LabelCollection class.

Fields

Name Description
NoneLabelId

Defines Id of the None label.

Methods

Name Description
LoadDefaults()

Restores the collection to its default state.

RefreshDefaults()

Refreshes default values honoring current culture settings.