Export (0) Print
Expand All

CssStyleCollection Members

Contains the HTML cascading-style sheets (CSS) inline style attributes for a specified HTML server control. This class cannot be inherited.

The CssStyleCollection type exposes the following members.

  NameDescription
Public method Add Overloaded. Adds a style item to the CssStyleCollection of a control.
Public method Clear Removes all style items from the CssStyleCollection object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Overloaded. Removes a style item from the CssStyleCollection of a control.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Count Gets the number of items in the CssStyleCollection object.
Public property Item Overloaded. Gets or sets a CSS value for the HTML server control.
Public property Keys Gets a collection of keys to all the styles in the CssStyleCollection object for a specific HTML server control.
Public property Value Gets or sets the value of the style attribute of the HTML server control.
Top

Community Additions

ADD
Show:
© 2014 Microsoft