SchedulerResourceBuilder Methods
Represents a Scheduler resource.| Name | Description |
|---|---|
| AllowMultiple(JS) | Specifies whether you can assign several resources of this kind to an appointment. Mirrors the client-side allowMultiple option. |
| AllowMultiple(Boolean) | Specifies whether you can assign several resources of this kind to an appointment. Mirrors the client-side allowMultiple option. |
| ColorExpr(JS) | Specifies the resource object field that is used as a resource color. Mirrors the client-side colorExpr option. |
| ColorExpr(String) | Specifies the resource object field that is used as a resource color. Mirrors the client-side colorExpr option. |
| DataSource(JS) | Specifies available resource instances. Mirrors the client-side dataSource option. |
| DataSource(IEnumerable, String[]) |
Binds a SchedulerResource control to a collection: Array, List, or IEnumerable.
|
| DataSource(Func<DataSourceFactory, OptionsOwnerBuilder>) | Binds a SchedulerResource control to data, allows you to configure data access from different sources: API controllers, Razor page handlers, OData services, arrays, and more. |
| DataSource(String, String[]) | Binds a SchedulerResource control to read-only data in JSON format. |
| DataSourceOptions(Action<DataSourceOptionsBuilder>) | Provides access to methods that mirror client-side data source options. |
| DisplayExpr(JS) | Specifies which field from the resource data objects provides values to be displayed in the resource editor. Mirrors the client-side displayExpr option. |
| DisplayExpr(String) | Specifies which field from the resource data objects provides values to be displayed in the resource editor. Mirrors the client-side displayExpr option. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| FieldExpr(JS) | The name of the appointment object field that specifies a resource of this kind. Mirrors the client-side fieldExpr option. |
| FieldExpr(String) | The name of the appointment object field that specifies a resource of this kind. Mirrors the client-side fieldExpr option. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| Label(JS) | Specifies the label of the Appointment popup window field that allows end users to assign a resource of this kind. Mirrors the client-side label option. |
| Label(String) | Specifies the label of the Appointment popup window field that allows end users to assign a resource of this kind. Mirrors the client-side label option. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| Option(String, Object) | Specifies an option by its name. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
| UseColorAsDefault(JS) | Specifies whether appointments are colored like this resource kind. Mirrors the client-side useColorAsDefault option. |
| UseColorAsDefault(Boolean) | Specifies whether appointments are colored like this resource kind. Mirrors the client-side useColorAsDefault option. |
| ValueExpr(JS) | Specifies the resource object field that is used as a value of the Resource editor in the Appointment popup window. Mirrors the client-side valueExpr option. |
| ValueExpr(String) | Specifies the resource object field that is used as a value of the Resource editor in the Appointment popup window. Mirrors the client-side valueExpr option. |
See Also