Skip to main content

SchedulerColorSchemaCollection.GetSchema(Color, Int32) Method

Creates a color schema based on the schema with the specified index with the specified base color.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

public SchedulerColorSchema GetSchema(
    Color color,
    int index
)

Parameters

Name Type Description
color Color

A Color structure specifying the base color of the new schema.

index Int32

An integer specifying the index of a color schema used as a base for calculating a new schema.

Returns

Type Description
SchedulerColorSchema

A SchedulerColorSchema object.

Remarks

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

See Also