IWebFormsDocumentService 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
提供用于访问服务以跟踪 Web 窗体文档的加载状态、在加载时处理事件、访问文档的位置、管理文档的撤消服务以及设置文档中的新选择。
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
- 属性
注解
注释
接口 IWebFormsDocumentService 已过时。 将 WebFormsRootDesigner 类用于等效设计器功能。
属性
| 名称 | 说明 |
|---|---|
| DocumentUrl |
已过时.
获取文档所在的 URL。 |
| IsLoading |
已过时.
获取一个值,该值指示文档服务当前是否正在加载。 |
方法
| 名称 | 说明 |
|---|---|
| CreateDiscardableUndoUnit() |
已过时.
创建可丢弃的撤消单元。 |
| DiscardUndoUnit(Object) |
已过时.
放弃指定的撤消单元。 |
| EnableUndo(Boolean) |
已过时.
允许撤消在可撤消的操作单元或事务中发生的操作。 |
| UpdateSelection() |
已过时.
在派生类中实现时,更新当前所选内容。 |
活动
| 名称 | 说明 |
|---|---|
| LoadComplete |
已过时.
服务完成加载时发生。 |