This interface provides methods for tracking the state of a Web Forms document, handling load-time events, determining a document's location, setting a document selection, and managing a document's "Undo" service.
public interface IWebFormsDocumentService { // Public Instance Properties public string DocumentUrl{get; } public bool IsLoading{get; } // Public Instance Methods public object CreateDiscardableUndoUnit( ); public void DiscardUndoUnit(object discardableUndoUnit); public void EnableUndo(bool enable); public void UpdateSelection( ); // Events public event EventHandler LoadComplete; }