A newer version of this page is available. Switch to the current version.

StylesBase Members

Serves as a base for classes that allow defining appearance of particular web controls.


Name Description
StylesBase(ISkinOwner) Initializes a new instance of the StylesBase class with the specified owner.


Name Description
DisabledStyleName For internal use only. Returns "Disabled".
LoadingDivStyleName For internal use only. Returns "LoadingDiv".
LoadingPanelStyleName For internal use only. Returns "LoadingPanel".


Name Description
CssFilePath Gets or sets the path to a CSS file that defines the web control's appearance.
CssPostfix Gets or sets a CSS class name postfix that identifies style settings to be applied to the control.
EnableDefaultAppearance Obsolete. Specifies whether to enable the control's default appearance.
Theme Gets or sets the name of the Theme to be applied to a web control.


Name Description
Assign(PropertiesBase) Copies the settings from the specified PropertiesBase object to the current object.
CopyFrom(StylesBase) Duplicates the properties of the specified object into the current instance of the StylesBase class.
CreateCssClassName(String, String, String) static For internal use only.
CreateStyleByName(String) For internal use only.
CreateStyleByName(String, String) Creates and returns a style object with the specified name. For internal use only.
CreateStyleCopyByName<T>(String) Creates and returns a copy of a style object with the specified name.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetBulletIndent() For internal use only.
GetCssFilePath() For internal use only.
GetCssPostFix() For internal use only.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetImageSpacing() For internal use only.
GetLoadingPanelImageSpacing() For internal use only.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDefaultAppearanceEnabled() Specifies whether the control's default appearance is enabled. For internal use only,
IsNative() Returns a value indicating whether the control is rendered as a native HTML control.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Returns the StylesBase object to its original state.