Skip to main content

ResourceExtension.GetColor(Resource) Method

Obtains a color assigned to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public static Color GetColor(
    this Resource resource
)

Parameters

Name Type Description
resource Resource

A Resource object that is the resource whose color is obtained.

Returns

Type Description
Color

A Color object that is the color assigned to the resource.

See Also