Skip to main content

ResourceDataStorage.CreateResource(Object, String, Color) Method

Creates a new resource with the specified ID, caption and color.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

public Resource CreateResource(
    object id,
    string caption,
    Color color
)

Parameters

Name Type Description
id Object

An Object that is the unique resource ID.

caption String

A String value that is the resource caption.

color Color

A Color value that specifies the resource color.

Returns

Type Description
Resource

A Resource object that is the newly created resource.

See Also