1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="DesignerCommandSet" FullName="System.ComponentModel.Design.DesignerCommandSet">
<TypeSignature Language="C#" Value="public class DesignerCommandSet" />
<AssemblyInfo>
<AssemblyName>System.Design</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.ComponentModel.Design.ComponentDesigner" /> class provides the <see cref="P:System.ComponentModel.Design.ComponentDesigner.ActionLists" /> and <see cref="P:System.ComponentModel.Design.ComponentDesigner.Verbs" /> properties to query for the <see cref="T:System.ComponentModel.Design.DesignerActionList" /> and <see cref="T:System.ComponentModel.Design.DesignerVerb" /> collections, respectively. However, if a design-time tool author decides not to derive from this class, the <see cref="T:System.ComponentModel.Design.DesignerCommandSet" /> class represents an alternative base class to provide this functionality.</para>
<para>The <see cref="T:System.ComponentModel.Design.DesignerCommandSet" /> class contains only three members, described in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Public member</para>
</term>
<description>
<para>Description</para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="M:System.ComponentModel.Design.DesignerCommandSet.GetCommands(System.String)" />
</para>
</term>
<description>
<para>Returns the collection of either the smart tags or designer verbs associated with the designed component. The base implementation returns null.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.ComponentModel.Design.DesignerCommandSet.ActionLists" />
</para>
</term>
<description>
<para>Gets the collection of all the smart tags associated with the designed component. The base implementation simply calls <see cref="M:System.ComponentModel.Design.DesignerCommandSet.GetCommands(System.String)" />.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.ComponentModel.Design.DesignerCommandSet.Verbs" />
</para>
</term>
<description>
<para>Gets the collection of all the designer verbs associated with the designed component. The base implementation simply calls <see cref="M:System.ComponentModel.Design.DesignerCommandSet.GetCommands(System.String)" />.</para>
</description>
</item>
</list>
<para>A <see cref="T: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 <see cref="P:System.ComponentModel.Design.IDesigner.Verbs" /> property should be used instead. This procedure provides a path for backwards compatibility.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a base class for design-time tools, not derived from <see cref="T:System.ComponentModel.Design.ComponentDesigner" />, that provide smart tag or designer verb capabilities.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DesignerCommandSet ();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Because this base class contains no state, the default constructor does nothing.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes an instance of the <see cref="T:System.ComponentModel.Design.DesignerCommandSet" /> class.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ActionLists">
<MemberSignature Language="C#" Value="public System.ComponentModel.Design.DesignerActionListCollection ActionLists { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ComponentModel.Design.DesignerActionListCollection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The base implementation simply calls <see cref="M:System.ComponentModel.Design.DesignerCommandSet.GetCommands(System.String)" /> with the string parameter "ActionLists".</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the collection of all the smart tags associated with the designed component.</para>
</summary>
</Docs>
</Member>
<Member MemberName="GetCommands">
<MemberSignature Language="C#" Value="public virtual System.Collections.ICollection GetCommands (string name);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ICollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Although the base implementation always returns null, the overridden version supplied by the programmer should return a collection of command objects of the type described by <paramref name="name" />. The base implementation of the <see cref="P:System.ComponentModel.Design.DesignerCommandSet.Verbs" /> and <see cref="P:System.ComponentModel.Design.DesignerCommandSet.ActionLists" /> properties specify the following values and meanings for this parameter.</para>
<list type="table">
<listheader>
<item>
<term>
<para>String </para>
</term>
<description>
<para>Meaning </para>
</description>
</item>
</listheader>
<item>
<term>
<para>"ActionLists"</para>
</term>
<description>
<para>Return a collection of all the smart tags associated with the component.</para>
</description>
</item>
<item>
<term>
<para>"Verbs"</para>
</term>
<description>
<para>Return a collection of all the designer verbs associated with the component.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a collection of command objects.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A collection that contains the specified type—either <see cref="T:System.ComponentModel.Design.DesignerActionList" /> or <see cref="T:System.ComponentModel.Design.DesignerVerb" />—of command objects. The base implementation always returns null.</para>
</returns>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The type of collection to return, indicating either a <see cref="T:System.ComponentModel.Design.DesignerActionListCollection" /> or a <see cref="T:System.ComponentModel.Design.DesignerVerbCollection" />.</param>
</Docs>
</Member>
<Member MemberName="Verbs">
<MemberSignature Language="C#" Value="public System.ComponentModel.Design.DesignerVerbCollection Verbs { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.ComponentModel.Design.DesignerVerbCollection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The base implementation simply calls <see cref="M:System.ComponentModel.Design.DesignerCommandSet.GetCommands(System.String)" /> with the string parameter "Verbs".</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the collection of all the designer verbs associated with the designed component.</para>
</summary>
</Docs>
</Member>
</Members>
</Type>
|