# Resources

The following article describes the **Telerik.Web.UI.Gantt.Resource** object.

## Resource Properties

The table below demonstrates some general properties of the **Resource** object.

| Name      | Type                 | Description                      |
| --------- | -------------------- | -------------------------------- |
| **Color** | System.Drawing.Color | Gets or sets **Resource** color. |
| **ID**    | object               | Gets or sets **Resource** ID.    |
| **Text**  | string               | Gets or sets **Resource** text.  |

## Resource Methods

The table below demonstrates the public methods of the **Resource** object.

| Name                   | Parameters                     | Return type                                       | Description                                         |
| ---------------------- | ------------------------------ | ------------------------------------------------- | --------------------------------------------------- |
| **GetData**            | none                           | System.Collections.Specialized.IOrderedDictionary | Returns **Resource** data as an Ordered dictionary. |
| **LoadFromDictionary** | System.Collections.IDictionary | void                                              | Loads **Resource** data from a Dictionary.          |

## See Also

* [Server-side Programming Overview](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/overview)

* [RadGantt object](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/objects/radgantt-object)

* [Tasks](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/objects/tasks)

* [Dependencies](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/objects/dependencies)

* [Assignments](https://www.telerik.com/products/aspnet-ajax/documentation/controls/gantt/server-side-programming/objects/assignments)

* [Resources demo](https://demos.telerik.com/aspnet-ajax/gantt/examples/functionality/resources/defaultcs.aspx)
