ISchedulerColorSchemaCollection<T>.Add(Object) Method
Adds a color schema to the collection.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v25.1.Core.Desktop.dll
NuGet Package: DevExpress.Scheduler.CoreDesktop
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| value | Object | An object that is the SchedulerColorSchema to add to the collection. |
Returns
| Type | Description |
|---|---|
| Int32 | An integer that is the index of a newly added object in the collection or -1 if the object was not added. |
Remarks
The Add method adds an object to the collection if it is not already contained in it.
See Also