IWebFormsDocumentService Interface

Definition

Caution

The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202

Provides methods to access services for tracking the loading state of a Web Forms document, handling events at load time, accessing a document's location, managing a document's undo service, and setting a new selection within the document.

public interface class IWebFormsDocumentService
public interface IWebFormsDocumentService
[System.Obsolete("The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202")]
public interface IWebFormsDocumentService
type IWebFormsDocumentService = interface
[<System.Obsolete("The recommended alternative is System.Web.UI.Design.WebFormsRootDesigner. The WebFormsRootDesigner contains additional functionality and allows for more extensibility. To get the WebFormsRootDesigner use the RootDesigner property from your ControlDesigner. http://go.microsoft.com/fwlink/?linkid=14202")>]
type IWebFormsDocumentService = interface
Public Interface IWebFormsDocumentService
Attributes

Remarks

Note

The IWebFormsDocumentService interface is obsolete. Use the WebFormsRootDesigner class for equivalent designer functionality.

Properties

DocumentUrl

Gets the URL at which the document is located.

IsLoading

Gets a value indicating whether the document service is currently loading.

Methods

CreateDiscardableUndoUnit()

Creates a discardable undo unit.

DiscardUndoUnit(Object)

Discards the specified undo unit.

EnableUndo(Boolean)

Enables the ability to undo actions that occur within undoable action units or transactions.

UpdateSelection()

When implemented in a derived class, updates the current selection.

Events

LoadComplete

Occurs when the service has finished loading.

Applies to

See also