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.v18.2.dll
Declaration
public Resource CreateResource(
object id,
string caption,
Color color
)
Public Function CreateResource(
id As Object,
caption As String,
color As Color
) As Resource
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
Feedback