Skip to main content

ResourceExtension.SetColor(Resource, Color) Method

Assigns color to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.2.dll

NuGet Package: DevExpress.Win.Scheduler


public static void SetColor(
    this Resource resource,
    Color color


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.


The static SetColor method enables you to assign a color to the resource.

See Also