Język

IWebFormsDocumentService Interfejs

Definicja

Uwaga

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

Udostępnia metody uzyskiwania dostępu do usług śledzenia stanu ładowania dokumentu web Forms, obsługi zdarzeń w czasie ładowania, uzyskiwania dostępu do lokalizacji dokumentu, zarządzania usługą cofania dokumentu i ustawiania nowego wyboru w dokumencie.

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
Atrybuty

Uwagi

Note

Interfejs IWebFormsDocumentService jest przestarzały. WebFormsRootDesigner Użyj klasy dla równoważnych funkcji projektanta.

Właściwości

Nazwa Opis
DocumentUrl
Przestarzałe.

Pobiera adres URL, pod którym znajduje się dokument.

IsLoading
Przestarzałe.

Pobiera wartość wskazującą, czy usługa dokumentów jest obecnie ładowana.

Metody

Nazwa Opis
CreateDiscardableUndoUnit()
Przestarzałe.

Tworzy odrzuconą jednostkę cofania.

DiscardUndoUnit(Object)
Przestarzałe.

Odrzuca określoną jednostkę cofania.

EnableUndo(Boolean)
Przestarzałe.

Umożliwia cofanie akcji, które występują w niemożliwych do cofnięcia jednostkach akcji lub transakcjach.

UpdateSelection()
Przestarzałe.

Po zaimplementowaniu w klasie pochodnej aktualizuje bieżący wybór.

Zdarzenia

Nazwa Opis
LoadComplete
Przestarzałe.

Występuje po zakończeniu ładowania usługi.

Dotyczy

Zobacz też