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

Declaration

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

Parameters

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.

Returns

Type Description
Resource

A Resource object that is the created resource.

See Also