ResourceExtension.SetColor(Resource, Color) Method

Assigns color to the specified resource.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.dll


public static void SetColor(
    this Resource resource,
    Color color
Public Shared Sub SetColor(
    resource As Resource,
    color As 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. The image is available with the Resource.Color property.

See Also