Marks the System.Web.UI.WebControls.Style so that its state will be recorded in view state.
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.