﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ToolStripButton" FullName="System.Windows.Forms.ToolStripButton"><TypeSignature Language="C#" Value="public class ToolStripButton : System.Windows.Forms.ToolStripItem" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Windows.Forms.ToolStripItem</BaseTypeName></Base><Interfaces /><Attributes><Attribute><AttributeName>System.Windows.Forms.Design.ToolStripItemDesignerAvailability(System.Windows.Forms.Design.ToolStripItemDesignerAvailability.ToolStrip)</AttributeName></Attribute></Attributes><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use <see cref="T:System.Windows.Forms.ToolStripButton" /> to create a toolbar button that supports both text and images. Use the <see cref="P:System.Windows.Forms.ToolStripItem.ImageAlign" /> and <see cref="P:System.Windows.Forms.ToolStripItem.TextAlign" /> properties to get or set the positioning of <see cref="T:System.Windows.Forms.ToolStripButton" /> images and text.</para><para>You can display a <see cref="T:System.Windows.Forms.ToolStripButton" /> with various border styles, and you can use it to represent and activate operational states. You can also define it to have the focus by default.</para><para>Although <see cref="T:System.Windows.Forms.ToolStripButton" /> replaces and extends the <see cref="T:System.Windows.Forms.ToolBarButton" /> control of previous versions, <see cref="T:System.Windows.Forms.ToolBarButton" /> is retained for both backward compatibility and future use.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a selectable <see cref="T:System.Windows.Forms.ToolStripItem" /> that can contain text and images. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton ();" /><MemberType>Constructor</MemberType><Parameters /><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton (System.Drawing.Image image);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="image" Type="System.Drawing.Image" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create a <see cref="T:System.Windows.Forms.ToolStripButton" /> that displays only an image on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class that displays the specified image.</para></summary><param name="image"><attribution license="cc4" from="Microsoft" modified="false" />The image to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton (string text);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="text" Type="System.String" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create a <see cref="T:System.Windows.Forms.ToolStripButton" /> that displays only text on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class that displays the specified text.</para></summary><param name="text"><attribution license="cc4" from="Microsoft" modified="false" />The text to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton (string text, System.Drawing.Image image);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="text" Type="System.String" /><Parameter Name="image" Type="System.Drawing.Image" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create a <see cref="T:System.Windows.Forms.ToolStripButton" /> that displays both an image and text.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class that displays the specified text and image.</para></summary><param name="text"><attribution license="cc4" from="Microsoft" modified="false" />The text to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param><param name="image"><attribution license="cc4" from="Microsoft" modified="false" />The image to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton (string text, System.Drawing.Image image, EventHandler onClick);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="text" Type="System.String" /><Parameter Name="image" Type="System.Drawing.Image" /><Parameter Name="onClick" Type="System.EventHandler" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create a <see cref="T:System.Windows.Forms.ToolStripButton" /> that displays both an image and text and raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event when clicked.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class that displays the specified text and image and that raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event.</para></summary><param name="text"><attribution license="cc4" from="Microsoft" modified="false" />The text to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param><param name="image"><attribution license="cc4" from="Microsoft" modified="false" />The image to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param><param name="onClick"><attribution license="cc4" from="Microsoft" modified="false" />An event handler that raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ToolStripButton (string text, System.Drawing.Image image, EventHandler onClick, string name);" /><MemberType>Constructor</MemberType><Parameters><Parameter Name="text" Type="System.String" /><Parameter Name="image" Type="System.Drawing.Image" /><Parameter Name="onClick" Type="System.EventHandler" /><Parameter Name="name" Type="System.String" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this constructor to create a <see cref="T:System.Windows.Forms.ToolStripButton" /> with the specified name that displays both an image and text and raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event when clicked.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Windows.Forms.ToolStripButton" /> class with the specified name that displays the specified text and image and that raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event.</para></summary><param name="text"><attribution license="cc4" from="Microsoft" modified="false" />The text to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param><param name="image"><attribution license="cc4" from="Microsoft" modified="false" />The image to display on the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param><param name="onClick"><attribution license="cc4" from="Microsoft" modified="false" />An event handler that raises the <see cref="E:System.Windows.Forms.ToolStripItem.Click" /> event.</param><param name="name"><attribution license="cc4" from="Microsoft" modified="false" />The name of the <see cref="T:System.Windows.Forms.ToolStripButton" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AutoToolTip"><MemberSignature Language="C#" Value="public bool AutoToolTip { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(true)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Set the <see cref="P:System.Windows.Forms.ToolStripButton.AutoToolTip" /> property to false to display custom <see cref="P:System.Windows.Forms.ToolStripItem.ToolTipText" /> on a <see cref="T:System.Windows.Forms.ToolStripItem" />.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether default or custom <see cref="T:System.Windows.Forms.ToolTip" /> text is displayed on the <see cref="T:System.Windows.Forms.ToolStripButton" />. </para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CanSelect"><MemberSignature Language="C#" Value="public override bool CanSelect { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the <see cref="T:System.Windows.Forms.ToolStripButton" /> can be selected.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Checked"><MemberSignature Language="C#" Value="public bool Checked { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether the <see cref="T:System.Windows.Forms.ToolStripButton" /> is pressed or not pressed.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CheckedChanged"><MemberSignature Language="C#" Value="public event EventHandler CheckedChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">Consuming Events</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the value of the <see cref="P:System.Windows.Forms.ToolStripButton.Checked" /> property changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CheckOnClick"><MemberSignature Language="C#" Value="public bool CheckOnClick { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether the <see cref="T:System.Windows.Forms.ToolStripButton" /> should automatically appear pressed in and not pressed in when clicked.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CheckState"><MemberSignature Language="C#" Value="public System.Windows.Forms.CheckState CheckState { set; get; }" /><MemberType>Property</MemberType><Attributes><Attribute><AttributeName>System.ComponentModel.DefaultValue(System.Windows.Forms.CheckState.Unchecked)</AttributeName></Attribute></Attributes><ReturnValue><ReturnType>System.Windows.Forms.CheckState</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Set the <see cref="P:System.Windows.Forms.ToolStripButton.CheckState" /> to Indeterminate when you do not want to set a default state.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets a value indicating whether the <see cref="T:System.Windows.Forms.ToolStripButton" /> is in the pressed or not pressed state by default, or is in an indeterminate state.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CheckStateChanged"><MemberSignature Language="C#" Value="public event EventHandler CheckStateChanged;" /><MemberType>Event</MemberType><ReturnValue><ReturnType>System.EventHandler</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>For more information about handling events, see <format type="text/html"><a href="01E4F1BC-E55E-413F-98C7-6588493E5F67">Consuming Events</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Occurs when the value of the <see cref="P:System.Windows.Forms.ToolStripButton.CheckState" /> property changes.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CreateAccessibilityInstance"><MemberSignature Language="C#" Value="protected override System.Windows.Forms.AccessibleObject CreateAccessibilityInstance ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Windows.Forms.AccessibleObject</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>If you do not explicitly call <see cref="M:System.Windows.Forms.ToolStripButton.CreateAccessibilityInstance" />, it will be called when the <see cref="P:System.Windows.Forms.ToolStripItem.AccessibilityObject" /> property is referenced.</para><block subset="none" type="note"><para>To get or set the <see cref="P:System.Windows.Forms.ToolStripItem.AccessibilityObject" /> property, you must add a reference to the Accessibility assembly installed with the .NET Framework.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a new accessibility object for the <see cref="T:System.Windows.Forms.ToolStripButton" />.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A new <see cref="T:System.Windows.Forms.AccessibleObject" /> for the <see cref="T:System.Windows.Forms.ToolStripButton" />.</para></returns></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Attributes><Attribute><AttributeName>System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)</AttributeName></Attribute></Attributes></Member><Member MemberName="DefaultAutoToolTip"><MemberSignature Language="C#" Value="protected override bool DefaultAutoToolTip { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether to display the ToolTip that is defined as the default. </para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetPreferredSize"><MemberSignature Language="C#" Value="public override System.Drawing.Size GetPreferredSize (System.Drawing.Size constrainingSize);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Drawing.Size</ReturnType></ReturnValue><Parameters><Parameter Name="constrainingSize" Type="System.Drawing.Size" /></Parameters><Docs><remarks>To be added.</remarks><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Retrieves the size of a rectangular area into which a <see cref="T:System.Windows.Forms.ToolStripButton" /> can be fitted.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An ordered pair of type <see cref="T:System.Drawing.Size" /> representing the width and height of a rectangle.</para></returns><param name="constrainingSize"><attribution license="cc4" from="Microsoft" modified="false" />The specified area for a <see cref="T:System.Windows.Forms.ToolStripButton" />.</param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnCheckedChanged"><MemberSignature Language="C#" Value="protected virtual void OnCheckedChanged (EventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.EventArgs" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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><para>The <see cref="M:System.Windows.Forms.ToolStripButton.OnCheckedChanged(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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Windows.Forms.ToolStripButton.CheckedChanged" /> event.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnCheckStateChanged"><MemberSignature Language="C#" Value="protected virtual void OnCheckStateChanged (EventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.EventArgs" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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><para>The <see cref="M:System.Windows.Forms.ToolStripButton.OnCheckStateChanged(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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Windows.Forms.ToolStripButton.CheckStateChanged" /> event.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnClick"><MemberSignature Language="C#" Value="protected override void OnClick (EventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.EventArgs" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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><para>The <see cref="M:System.Windows.Forms.ToolStripButton.OnClick(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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Windows.Forms.Control.Click" /> event.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.EventArgs" /> that contains the event data. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnPaint"><MemberSignature Language="C#" Value="protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="e" Type="System.Windows.Forms.PaintEventArgs" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><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><para>The <see cref="M:System.Windows.Forms.ToolStripButton.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></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Raises the <see cref="E:System.Windows.Forms.Control.Paint" /> event.</para></summary><param name="e"><attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Windows.Forms.PaintEventArgs" /> that contains the event data. </param></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>