ResourceMappingInfo.Color Property

Gets or sets the data field to which the resource color is bound.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.Core.dll


public virtual string Color { get; set; }

Property Value

Type Default Description


A String value that specifies the name of the bound data field.


The Color property specifies the name of the data field in the external data source which contains resource color information. The field type is dependent on the ResourceStorageBase.ColorSaving setting.


Resource color in code can be specified using the Resource.ColorValue property, which is platform-independent because it operates with a string representation of the color. WinForms Scheduler provides the ResourceExtension.SetColor and ResourceExtension.GetColor methods which operate with the Color data type. However, the color data type in the external data source is determined by the ResourceStorageBase.ColorSaving setting.


You can implement a custom ResourceMappingInfo.ColorConverter to store color data using an arbitrary type and format.

See Also