ResourceExtension.GetColor(Resource) Method

Obtains a color assigned to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll

Declaration

public static Color GetColor(
    this Resource resource
)
<ExtensionAttribute>
Public Shared Function GetColor(
    resource As Resource
) As Color

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