StyleSheet
Wisej.Web.StyleSheet
Last updated
Wisej.Web.StyleSheet
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Adds CSS styling to controls.
Initializes a new instance of the StyleSheet without a specified container.
Initializes a new instance of the StyleSheet class with a specified container.
Name | Type | Description |
---|---|---|
container | An IContainer that represents the container of the StyleSheet extender. |
String: Returns or sets the CSS definitions managed by the extender. (Default: ""
)
String: Returns or set the source of the CSS file containing the CSS definitions managed by the extender. (Default: ""
)
Object: Returns or sets the object that contains programmer-supplied data associated with the StyleSheet extender. (Default: null
)
Returns true if the StyleSheet extender can offer an extender property to the specified target component.
Parameter | Type | Description |
---|---|---|
target | The target object to add an extender property to. |
Returns: Boolean. true if the StyleSheet class can offer one or more extender properties; otherwise, false.
Removes all css classes.
Retrieves the CSS class name associated with the specified control.
Returns: String. The CSS class name added to the specified control.
Adds the CSS class name to the specified control.
Parameter | Type | Description |
---|---|---|
control | The Control to add the CSS class name to. | |
cssClass | The CSS class name to add to the control. |
Name | Description |
---|---|
All wisej components implement this interface. | |
Defines the interface for extending properties to other components in a container. | |
Allows an object to serialize itself. |