1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="ToolStripDropDownButton" FullName="System.Windows.Forms.ToolStripDropDownButton">
3 <TypeSignature Language="C#" Value="public class ToolStripDropDownButton : System.Windows.Forms.ToolStripDropDownItem" />
5 <AssemblyName>System.Windows.Forms</AssemblyName>
6 <AssemblyVersion>2.0.0.0</AssemblyVersion>
9 <BaseTypeName>System.Windows.Forms.ToolStripDropDownItem</BaseTypeName>
13 <since version=".NET 2.0" />
15 <attribution license="cc4" from="Microsoft" modified="false" />
17 <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> looks like <see cref="T:System.Windows.Forms.ToolStripButton" />, but it shows a drop-down area when the user clicks it. Hide or show the drop-down arrow by setting the <see cref="P:System.Windows.Forms.ToolStripDropDownButton.ShowDropDownArrow" /> property. <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> hosts a <see cref="T:System.Windows.Forms.ToolStripOverflowButton" /> that displays items that overflow the <see cref="T:System.Windows.Forms.ToolStrip" />.</para>
18 <para>Use the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> to activate familiar drop-down controls such as color pickers. Set the <see cref="P:System.Windows.Forms.ToolStripDropDownButton.ShowDropDownArrow" /> property to true to more clearly indicate to the user that further options are available on the drop-down list.</para>
21 <attribution license="cc4" from="Microsoft" modified="false" />
22 <para>Represents a control that when clicked displays an associated <see cref="T:System.Windows.Forms.ToolStripDropDown" /> from which the user can select a single item.</para>
26 <Member MemberName=".ctor">
27 <MemberSignature Language="C#" Value="public ToolStripDropDownButton ();" />
28 <MemberType>Constructor</MemberType>
31 <remarks>To be added.</remarks>
32 <since version=".NET 2.0" />
34 <attribution license="cc4" from="Microsoft" modified="false" />
35 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class. </para>
39 <AssemblyVersion>2.0.0.0</AssemblyVersion>
42 <Member MemberName=".ctor">
43 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (System.Drawing.Image image);" />
44 <MemberType>Constructor</MemberType>
46 <Parameter Name="image" Type="System.Drawing.Image" />
49 <remarks>To be added.</remarks>
50 <since version=".NET 2.0" />
52 <attribution license="cc4" from="Microsoft" modified="false" />
53 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class that displays the specified image.</para>
56 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Image" /> to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
59 <AssemblyVersion>2.0.0.0</AssemblyVersion>
62 <Member MemberName=".ctor">
63 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (string text);" />
64 <MemberType>Constructor</MemberType>
66 <Parameter Name="text" Type="System.String" />
69 <remarks>To be added.</remarks>
70 <since version=".NET 2.0" />
72 <attribution license="cc4" from="Microsoft" modified="false" />
73 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class that displays the specified text.</para>
76 <attribution license="cc4" from="Microsoft" modified="false" />The text to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
79 <AssemblyVersion>2.0.0.0</AssemblyVersion>
82 <Member MemberName=".ctor">
83 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (string text, System.Drawing.Image image);" />
84 <MemberType>Constructor</MemberType>
86 <Parameter Name="text" Type="System.String" />
87 <Parameter Name="image" Type="System.Drawing.Image" />
90 <remarks>To be added.</remarks>
91 <since version=".NET 2.0" />
93 <attribution license="cc4" from="Microsoft" modified="false" />
94 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class that displays the specified text and image.</para>
97 <attribution license="cc4" from="Microsoft" modified="false" />The text to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
99 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Image" /> to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
102 <AssemblyVersion>2.0.0.0</AssemblyVersion>
105 <Member MemberName=".ctor">
106 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (string text, System.Drawing.Image image, EventHandler onClick);" />
107 <MemberType>Constructor</MemberType>
109 <Parameter Name="text" Type="System.String" />
110 <Parameter Name="image" Type="System.Drawing.Image" />
111 <Parameter Name="onClick" Type="System.EventHandler" />
114 <remarks>To be added.</remarks>
115 <since version=".NET 2.0" />
117 <attribution license="cc4" from="Microsoft" modified="false" />
118 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class that displays the specified text and image and raises the Click event.</para>
121 <attribution license="cc4" from="Microsoft" modified="false" />The text to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
123 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Image" /> to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
124 <param name="onClick">
125 <attribution license="cc4" from="Microsoft" modified="false" />The event handler for the <see cref="E:System.Windows.Forms.Control.Click" /> event.</param>
128 <AssemblyVersion>2.0.0.0</AssemblyVersion>
131 <Member MemberName=".ctor">
132 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (string text, System.Drawing.Image image, System.Windows.Forms.ToolStripItem[] dropDownItems);" />
133 <MemberType>Constructor</MemberType>
135 <Parameter Name="text" Type="System.String" />
136 <Parameter Name="image" Type="System.Drawing.Image" />
137 <Parameter Name="dropDownItems" Type="System.Windows.Forms.ToolStripItem[]">
140 <AttributeName>System.ParamArray</AttributeName>
146 <remarks>To be added.</remarks>
147 <since version=".NET 2.0" />
149 <attribution license="cc4" from="Microsoft" modified="false" />
150 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class.</para>
153 <attribution license="cc4" from="Microsoft" modified="false" />The text to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
155 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Image" /> to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
156 <param name="dropDownItems">
157 <attribution license="cc4" from="Microsoft" modified="false" />An array of type <see cref="T:System.Windows.Forms.ToolStripItem" /> containing the items of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
160 <AssemblyVersion>2.0.0.0</AssemblyVersion>
163 <Member MemberName=".ctor">
164 <MemberSignature Language="C#" Value="public ToolStripDropDownButton (string text, System.Drawing.Image image, EventHandler onClick, string name);" />
165 <MemberType>Constructor</MemberType>
167 <Parameter Name="text" Type="System.String" />
168 <Parameter Name="image" Type="System.Drawing.Image" />
169 <Parameter Name="onClick" Type="System.EventHandler" />
170 <Parameter Name="name" Type="System.String" />
173 <remarks>To be added.</remarks>
174 <since version=".NET 2.0" />
176 <attribution license="cc4" from="Microsoft" modified="false" />
177 <para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> class that has the specified name, displays the specified text and image, and raises the Click event.</para>
180 <attribution license="cc4" from="Microsoft" modified="false" />The text to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
182 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Drawing.Image" /> to be displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
183 <param name="onClick">
184 <attribution license="cc4" from="Microsoft" modified="false" />The event handler for the <see cref="E:System.Windows.Forms.Control.Click" /> event.</param>
186 <attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />.</param>
189 <AssemblyVersion>2.0.0.0</AssemblyVersion>
192 <Member MemberName="AutoToolTip">
193 <MemberSignature Language="C#" Value="public bool AutoToolTip { set; get; }" />
194 <MemberType>Property</MemberType>
196 <ReturnType>System.Boolean</ReturnType>
199 <value>To be added.</value>
200 <remarks>To be added.</remarks>
201 <since version=".NET 2.0" />
203 <attribution license="cc4" from="Microsoft" modified="false" />
204 <para>Gets or sets a value indicating whether to use the Text property or the <see cref="P:System.Windows.Forms.ToolStripItem.ToolTipText" /> property for the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> ToolTip.</para>
208 <AssemblyVersion>2.0.0.0</AssemblyVersion>
212 <AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
216 <Member MemberName="CreateDefaultDropDown">
217 <MemberSignature Language="C#" Value="protected override System.Windows.Forms.ToolStripDropDown CreateDefaultDropDown ();" />
218 <MemberType>Method</MemberType>
220 <ReturnType>System.Windows.Forms.ToolStripDropDown</ReturnType>
224 <remarks>To be added.</remarks>
225 <since version=".NET 2.0" />
227 <attribution license="cc4" from="Microsoft" modified="false" />
228 <para>Creates a generic <see cref="T:System.Windows.Forms.ToolStripDropDown" /> for which events can be defined.</para>
231 <attribution license="cc4" from="Microsoft" modified="false" />
232 <para>A <see cref="T:System.Windows.Forms.ToolStripDropDown" /> for which events can be defined.</para>
236 <AssemblyVersion>2.0.0.0</AssemblyVersion>
239 <Member MemberName="DefaultAutoToolTip">
240 <MemberSignature Language="C#" Value="protected override bool DefaultAutoToolTip { get; }" />
241 <MemberType>Property</MemberType>
243 <ReturnType>System.Boolean</ReturnType>
246 <value>To be added.</value>
247 <remarks>To be added.</remarks>
248 <since version=".NET 2.0" />
250 <attribution license="cc4" from="Microsoft" modified="false" />
251 <para>Gets a value indicating whether to display the <see cref="T:System.Windows.Forms.ToolTip" /> that is defined as the default.</para>
255 <AssemblyVersion>2.0.0.0</AssemblyVersion>
258 <Member MemberName="OnMouseDown">
259 <MemberSignature Language="C#" Value="protected override void OnMouseDown (System.Windows.Forms.MouseEventArgs e);" />
260 <MemberType>Method</MemberType>
262 <ReturnType>System.Void</ReturnType>
265 <Parameter Name="e" Type="System.Windows.Forms.MouseEventArgs" />
268 <since version=".NET 2.0" />
270 <attribution license="cc4" from="Microsoft" modified="false" />
271 <para>Raising an event invokes the event handler through a delegate. For more information, see <format type="text/html"><a href="f2adaf01-1ed1-42e1-8c31-8d467e7e0ee2">Raising an Event</a></format>.</para>
272 <para>The <see cref="M:System.Windows.Forms.ToolStripDropDownButton.OnMouseDown(System.Windows.Forms.MouseEventArgs)" /> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.</para>
275 <attribution license="cc4" from="Microsoft" modified="false" />
276 <para>Raises the <see cref="E:System.Windows.Forms.ToolStripItem.MouseDown" /> event.</para>
279 <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.MouseEventArgs" /> that contains the event data.</param>
282 <AssemblyVersion>2.0.0.0</AssemblyVersion>
285 <Member MemberName="OnMouseLeave">
286 <MemberSignature Language="C#" Value="protected override void OnMouseLeave (EventArgs e);" />
287 <MemberType>Method</MemberType>
289 <AssemblyVersion>2.0.0.0</AssemblyVersion>
292 <ReturnType>System.Void</ReturnType>
295 <Parameter Name="e" Type="System.EventArgs" />
299 <attribution license="cc4" from="Microsoft" modified="false" />
300 <para>Raising an event invokes the event handler through a delegate. For more information, see <format type="text/html"><a href="f2adaf01-1ed1-42e1-8c31-8d467e7e0ee2">Raising an Event</a></format>.</para>
301 <para>The <see cref="M:System.Windows.Forms.ToolStripDropDownButton.OnMouseLeave(System.EventArgs)" /> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.</para>
304 <attribution license="cc4" from="Microsoft" modified="false" />
305 <para>Raises the <see cref="E:System.Windows.Forms.ToolStripItem.MouseLeave" /> event.</para>
308 <attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param>
311 <Member MemberName="OnMouseUp">
312 <MemberSignature Language="C#" Value="protected override void OnMouseUp (System.Windows.Forms.MouseEventArgs e);" />
313 <MemberType>Method</MemberType>
315 <AssemblyVersion>2.0.0.0</AssemblyVersion>
318 <ReturnType>System.Void</ReturnType>
321 <Parameter Name="e" Type="System.Windows.Forms.MouseEventArgs" />
324 <remarks>To be added.</remarks>
326 <attribution license="cc4" from="Microsoft" modified="false" />
327 <para>Raises the <see cref="E:System.Windows.Forms.ToolStripItem.MouseUp" /> event.</para>
330 <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.MouseEventArgs" /> that contains the event data. </param>
333 <Member MemberName="OnPaint">
334 <MemberSignature Language="C#" Value="protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);" />
335 <MemberType>Method</MemberType>
337 <ReturnType>System.Void</ReturnType>
340 <Parameter Name="e" Type="System.Windows.Forms.PaintEventArgs" />
343 <since version=".NET 2.0" />
345 <attribution license="cc4" from="Microsoft" modified="false" />
346 <para>Raising an event invokes the event handler through a delegate. For more information, see <format type="text/html"><a href="f2adaf01-1ed1-42e1-8c31-8d467e7e0ee2">Raising an Event</a></format>.</para>
347 <para>The <see cref="M:System.Windows.Forms.ToolStripDropDownButton.OnPaint(System.Windows.Forms.PaintEventArgs)" /> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.</para>
350 <attribution license="cc4" from="Microsoft" modified="false" />
351 <para>Raises the <see cref="E:System.Windows.Forms.ToolStripItem.Paint" /> event.</para>
354 <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data.</param>
357 <AssemblyVersion>2.0.0.0</AssemblyVersion>
360 <Member MemberName="ProcessMnemonic">
361 <MemberSignature Language="C#" Value="protected override bool ProcessMnemonic (char charCode);" />
362 <MemberType>Method</MemberType>
364 <AssemblyVersion>2.0.0.0</AssemblyVersion>
367 <ReturnType>System.Boolean</ReturnType>
370 <Parameter Name="charCode" Type="System.Char" />
373 <remarks>To be added.</remarks>
375 <attribution license="cc4" from="Microsoft" modified="false" />
376 <para>Retrieves a value indicating whether the drop-down list of the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" /> has items.</para>
379 <attribution license="cc4" from="Microsoft" modified="false" />
380 <para>true if the drop-down list has items; otherwise, false.</para>
382 <param name="charCode">
383 <attribution license="cc4" from="Microsoft" modified="false" />The character to process.</param>
386 <Member MemberName="ShowDropDownArrow">
387 <MemberSignature Language="C#" Value="public bool ShowDropDownArrow { set; get; }" />
388 <MemberType>Property</MemberType>
390 <ReturnType>System.Boolean</ReturnType>
393 <value>To be added.</value>
394 <remarks>To be added.</remarks>
395 <since version=".NET 2.0" />
397 <attribution license="cc4" from="Microsoft" modified="false" />
398 <para>Gets or sets a value indicating whether an arrow is displayed on the <see cref="T:System.Windows.Forms.ToolStripDropDownButton" />, which indicates that further options are available in a drop-down list.</para>
402 <AssemblyVersion>2.0.0.0</AssemblyVersion>
406 <AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName>
413 <AttributeName>System.Windows.Forms.Design.ToolStripItemDesignerAvailability(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip | System.Windows.Forms.Design.ToolStripItemDesignerAvailability.StatusStrip)</AttributeName>