Style.SetDirty Style.SetDirty Style.SetDirty Style.SetDirty Method

Definition

Marks the Style so that its state will be recorded in view state.

public:
 void SetDirty();
public void SetDirty ();
member this.SetDirty : unit -> unit
Public Sub SetDirty ()

Remarks

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

Applies to