System.ComponentModel.Design.DesignerCommandSet Class

Represents a base class for design-time tools, not derived from System.ComponentModel.Design.ComponentDesigner, that provide smart tag or designer verb capabilities.

See Also: DesignerCommandSet Members

Syntax

public class DesignerCommandSet

Remarks

The System.ComponentModel.Design.ComponentDesigner class provides the ComponentDesigner.ActionLists and ComponentDesigner.Verbs properties to query for the System.ComponentModel.Design.DesignerActionList and System.ComponentModel.Design.DesignerVerb collections, respectively. However, if a design-time tool author decides not to derive from this class, the System.ComponentModel.Design.DesignerCommandSet class represents an alternative base class to provide this functionality.

The System.ComponentModel.Design.DesignerCommandSet class contains only three members, described in the following table.

DesignerCommandSet.GetCommands(string)

Returns the collection of either the smart tags or designer verbs associated with the designed component. The base implementation returns null.

DesignerCommandSet.ActionLists

Gets the collection of all the smart tags associated with the designed component. The base implementation simply calls DesignerCommandSet.GetCommands(string).

DesignerCommandSet.Verbs

Gets the collection of all the designer verbs associated with the designed component. The base implementation simply calls DesignerCommandSet.GetCommands(string).

A System.ComponentModel.Design.DesignerCommandSet should be added as a site-specific service. Externally, a service of this type should first be queried to discover smart tag and designer verb functionality. If this service is not found, then the IDesigner.Verbs property should be used instead. This procedure provides a path for backwards compatibility.

Requirements

Namespace: System.ComponentModel.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0