IWebFormsDocumentService Interface
Definição
Cuidado
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
Fornece métodos para acessar serviços para acompanhamento do estado de carregamento de um documento do Web Forms, manipulação de eventos em tempo de carregamento, acesso a um local do documento, gerenciamento do serviço de desfazer do documento e definição de uma nova seleção no documento.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
- Atributos
Comentários
Observação
A IWebFormsDocumentService interface está obsoleta.The IWebFormsDocumentService interface is obsolete. Use a WebFormsRootDesigner classe para a funcionalidade de designer equivalente.Use the WebFormsRootDesigner class for equivalent designer functionality.
Propriedades
| DocumentUrl |
Obtém a URL na qual o documento está localizado.Gets the URL at which the document is located. |
| IsLoading |
Obtém um valor que indica se o serviço de documento está carregando no momento.Gets a value indicating whether the document service is currently loading. |
Métodos
| CreateDiscardableUndoUnit() |
Cria uma unidade de desfazer descartável.Creates a discardable undo unit. |
| DiscardUndoUnit(Object) |
Descarta a unidade de desfazer especificada.Discards the specified undo unit. |
| EnableUndo(Boolean) |
Habilita a capacidade de desfazer ações que ocorrem dentro de transações ou unidades de ação que podem ser desfeitas.Enables the ability to undo actions that occur within undoable action units or transactions. |
| UpdateSelection() |
Quando implementado em uma classe derivada, atualiza a seleção atual.When implemented in a derived class, updates the current selection. |
Eventos
| LoadComplete |
Ocorre quando o serviço concluiu o carregamento.Occurs when the service has finished loading. |