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

ResourceDataStorage.Add(Object, String, Color) Method

Adds a new resource with the specific ID, caption and color.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll


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


Name Type Description
id Object

An Object value that specifies the unique resource ID.

caption String

A String value that specifies the resource caption.

color Color

A Color value that specifies the resource color.


Type Description

A Resource object that is the created resource.

See Also