Export (0) Print
Expand All

Style Methods

The Style type exposes the following members.

  Name Description
Public method AddAttributesToRender(HtmlTextWriter) Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter. This method is primarily used by control developers.
Public method AddAttributesToRender(HtmlTextWriter, WebControl) Adds HTML attributes and styles that need to be rendered to the specified System.Web.UI.HtmlTextWriter and Web server control. This method is primarily used by control developers.
Public method CopyFrom Duplicates the style properties of the specified Style into the instance of the Style class that this method is called from.
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method FillStyleAttributes Adds the specified object's style properties to a System.Web.UI.CssStyleCollection object.
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetStyleAttributes Retrieves the System.Web.UI.CssStyleCollection object for the specified System.Web.UI.IUrlResolutionService-implemented object.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method LoadViewState Loads the previously saved state.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method MergeWith Combines the style properties of the specified Style with the instance of the Style class that this method is called from.
Public method Reset Removes any defined style elements from the state bag.
Protected method SaveViewState A protected method. Saves any state that has been modified after the TrackViewState method was invoked.
Protected method SetBit Infrastructure. A protected internal method. Sets an internal bitmask field that indicates the style properties that are stored in the state bag.
Public method SetDirty Marks the Style so that its state will be recorded in view state.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Protected method TrackViewState A protected method. Marks the beginning for tracking state changes on the control. Any changes made after tracking has begun will be tracked and saved as part of the control view state.
Top

  Name Description
Explicit interface implemetation Private method IStateManager.LoadViewState Infrastructure. Loads the previously saved state.
Explicit interface implemetation Private method IStateManager.SaveViewState Infrastructure. Returns the object containing state changes.
Explicit interface implemetation Private method IStateManager.TrackViewState Infrastructure. Starts tracking state changes.
Top
Show:
© 2014 Microsoft