ResourceStyleMapping
This Class implements the ResourceStyleMapping.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class ResourceStyleMapping : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerResourceStyleMapping
Implements:
Inherited Members
Constructors
public ResourceStyleMapping()
Properties
Gets or sets a value indicating the cascading style sheet (CSS) class to render for appointments that use the matching resource.
public string ApplyCssClass { get; set; }
The cascading style sheet (CSS) class to render for appointments that use the matching resource.
The default value is Empty.
You can define your own CSS class name or use some of the predefined class names:
- rsCategoryBlue
- rsCategoryDarkBlue
- rsCategoryDarkGreen
- rsCategoryDarkRed
- rsCategoryGreen
- rsCategoryOrange
- rsCategoryPink
- rsCategoryRed
- rsCategoryViolet
- rsCategoryYellow
Gets or sets a value indicating the background color to render for appointments that use the matching resource.
[TypeConverter(typeof(WebColorConverter))]
public virtual Color BackColor { get; set; }
The background color to render for appointments that use the matching resource.
The default value is Empty.
Setting a background color automatically switches the appointment rendering to Simple (no rounded corners and gradients). In order to disable this legacy behavior, and force the default rendering, set AppointmentStyleMode to Default.
Gets or sets a value indicating the border color to render for appointments that use the matching resource.
[TypeConverter(typeof(WebColorConverter))]
public virtual Color BorderColor { get; set; }
The border color to render for appointments that use the matching resource.
The default value is Empty.
Setting a border color automatically switches the appointment rendering to Simple (no rounded corners and gradients). In order to disable this legacy behavior, and force the default rendering, set AppointmentStyleMode to Default.