System.Web.UI.WebControls.Style.SetDirty Method

Marks the System.Web.UI.WebControls.Style so that its state will be recorded in view state.

Syntax

public void SetDirty ()

Remarks

The Style.SetDirty method is called directly by the StyleCollection.SetDirtyObject(object) method of a System.Web.UI.WebControls.StyleCollection, to mark a System.Web.UI.WebControls.Style object so that its state is recorded in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0