Resource.Color Property

Obsolete. Gets or sets the color associated with the resource.

Namespace: DevExpress.XtraScheduler

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

Declaration

[Obsolete("Use the GetColor and SetColor extension methods instead.")]
Color Color { get; set; }
<Obsolete("Use the GetColor and SetColor extension methods instead.")>
Property Color As Color

Property Value

Type Description
Color

A Color value.

Remarks

In the Scheduler for WinForms, use the ResourceExtension.GetColor and ResourceExtension.SetColor extension methods instead. They are accessible with the Resource.GetColor and Resource.SetColor notation.

NOTE

Resource color is stored in the external data source in the data field specified by the ResourceMappingInfo.Color property. The data field type depends on the ResourceStorageBase.ColorSaving property value.

See Also