ResourceExtension.SetColor(Resource, Color) Method

Assigns color to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v21.1.dll

Declaration

public static void SetColor(
    this Resource resource,
    Color color
)

Parameters

Name Type Description
resource Resource

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

color Color

A Color object to assign to the resource.

Remarks

The static SetColor method enables you to assign a color to the resource. The image is available with the Resource.Color property.

See Also