WebFormsDesignerActionService 类
定义
建立管理组件的 DesignerActionItem 对象集合的设计时服务。Establishes a design-time service that manages the collection of DesignerActionItem objects for a component.
public ref class WebFormsDesignerActionService : System::ComponentModel::Design::DesignerActionService
public class WebFormsDesignerActionService : System.ComponentModel.Design.DesignerActionService
type WebFormsDesignerActionService = class
inherit DesignerActionService
Public Class WebFormsDesignerActionService
Inherits DesignerActionService
- 继承
构造函数
WebFormsDesignerActionService(IServiceProvider) |
使用提供的对设计宿主的引用创建 WebFormsDesignerActionService 类的新实例。Creates a new instance of the WebFormsDesignerActionService class using the provided reference to the design host. |
方法
Add(IComponent, DesignerActionList) |
将 DesignerActionList 添加到当前的托管智能标记集合。Adds a DesignerActionList to the current collection of managed smart tags. (继承自 DesignerActionService) |
Add(IComponent, DesignerActionListCollection) |
将 DesignerActionListCollection 添加到当前的托管智能标记集合。Adds a DesignerActionListCollection to the current collection of managed smart tags. (继承自 DesignerActionService) |
Clear() |
解除所有组件的管理,并清除所有推模型智能标记列表。Releases all components from management and clears all push-model smart tag lists. (继承自 DesignerActionService) |
Contains(IComponent) |
确定当前智能标记服务是否管理指定组件的操作列表。Determines whether the current smart tag service manages the action lists for the specified component. (继承自 DesignerActionService) |
Dispose() |
释放 DesignerActionService 类使用的所有资源。Releases all resources used by the DesignerActionService class. (继承自 DesignerActionService) |
Dispose(Boolean) |
释放由 DesignerActionService 占用的非托管资源,还可以另外再释放托管资源。Releases the unmanaged resources used by the DesignerActionService and optionally releases the managed resources. (继承自 DesignerActionService) |
Equals(Object) |
确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetComponentActions(IComponent) |
返回与某个组件关联的智能标记项列表的集合。Returns the collection of smart tag item lists associated with a component. (继承自 DesignerActionService) |
GetComponentActions(IComponent, ComponentActionsType) |
返回与某个组件关联的指定类型的智能标记项列表的集合。Returns the collection of smart tag item lists of the specified type associated with a component. (继承自 DesignerActionService) |
GetComponentActions(IComponent, ComponentActionsType) | (继承自 DesignerActionService) |
GetComponentDesignerActions(IComponent, DesignerActionListCollection) |
获取与组件相关联的智能标记项列表。Gets the smart-tag item lists that are associated with a component. |
GetComponentServiceActions(IComponent, DesignerActionListCollection) |
检索与组件关联的推模型智能标记。Retrieves the push-model smart tags associated with a component. (继承自 DesignerActionService) |
GetHashCode() |
用作默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
Remove(DesignerActionList) |
从由当前服务管理的所有组件中移除指定的智能标记列表。Removes the specified smart tag list from all components managed by the current service. (继承自 DesignerActionService) |
Remove(IComponent) |
移除与指定组件关联的所有智能标记列表。Removes all the smart tag lists associated with the specified component. (继承自 DesignerActionService) |
Remove(IComponent, DesignerActionList) |
从指定的组件移除指定的智能标记列表。Removes the specified smart tag list from the specified component. (继承自 DesignerActionService) |
ToString() |
返回一个表示当前对象的 string。Returns a string that represents the current object. (继承自 Object) |
事件
DesignerActionListsChanged |
为任何组件移除或添加 DesignerActionList 时发生。Occurs when a DesignerActionList is removed or added for any component. (继承自 DesignerActionService) |