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