ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 493
نمايش فراداده

IWebFormsDocumentService

System.Web.UI.Design (system.design.dll)interface

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 ; }