Skip to main content

ResourceExtension.SetColor(Resource, Color) Method

Assigns color to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

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.

See Also