Skip to main content
A newer version of this page is available. .

ResourceDataStorage.CreateResource(Object, String, Color) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.dll

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