A newer version of this page is available. Switch to the current version.

ResourceDataStorage.CreateResource(Object, String, Color) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll


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


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.


Type Description

A Resource object that is the newly created resource.

See Also