System.Windows.Forms 1.0.5000.0 2.0.0.0 System.Windows.Forms.ButtonBase System.ComponentModel.ToolboxItem("System.Windows.Forms.Design.AutoSizeToolboxItem,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") System.ComponentModel.DefaultBindingProperty("CheckState") System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch) System.Runtime.InteropServices.ComVisible(true) System.ComponentModel.DefaultEvent("CheckedChanged") System.ComponentModel.DefaultProperty("Checked") Use a to give the user an option, such as true/false or yes/no. The control can display an image or text or both. and controls have a similar function: they allow the user to choose from a list of options. controls let the user pick a combination of options. In contrast, controls allow a user to choose from mutually exclusive options. The property determines whether the appears as a typical or as a button. The property determines whether the control supports two or three states. Use the property to get or set the value of a two-state control and use the property to get or set the value of a three-state control. If the property is set to true, the property will return true for either a checked or indeterminate state. The property determines the style and appearance of the control. If the property is set to , the user's operating system determines the appearance of the control. When the property is set to , the property is ignored and the control is displayed using the or alignment. If the property is set to one of the right alignments, the control is displayed using the alignment; otherwise, it is displayed using the alignment. The following describes an indeterminate state: You have a that determines if the selected text in a is bold. When you select text you can click the to bold the selection. Likewise, when you select some text, the displays whether the selected text is bold. If your selected text contains text that is bold and normal, the will have an indeterminate state. Represents a Windows . Constructor By default, when a new is instantiated, is set to true, is set to false, and is set to . Initializes a new instance of the class. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue(System.Windows.Forms.Appearance.Normal) System.Windows.Forms.Appearance To be added. If value is set to , the has a typical appearance. If the value is set to Button, the appears like a toggle button, which can be toggled to an up or down state. Gets or sets the value that determines the appearance of a control. 1.0.5000.0 2.0.0.0 Event System.EventHandler For more information about handling events, see Consuming Events. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(true) System.Boolean To be added. If is set to false, you will need to add code to update the or values in the event handler. Gets or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(System.Drawing.ContentAlignment.MiddleLeft) System.ComponentModel.Localizable(true) System.ComponentModel.Bindable(true) System.Drawing.ContentAlignment To be added. To be added. Gets or sets the horizontal and vertical alignment of the check mark on a control. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.SettingsBindable(true) System.ComponentModel.DefaultValue(false) System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All) System.ComponentModel.Bindable(true) System.Boolean To be added. When the value is true, the portion of the control displays a check mark. If the property is set to Button, the control will appear sunken when is true and raised like a standard button when false. Gets or set a value indicating whether the is in the checked state. 1.0.5000.0 2.0.0.0 Event System.EventHandler For more information about handling events, see Consuming Events. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Bindable(true) System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All) System.ComponentModel.DefaultValue(System.Windows.Forms.CheckState.Unchecked) System.Windows.Forms.CheckState To be added. If the property is set to false, the property value can only be set to CheckState.Indeterminate in code and not by user interaction. The following table describes the of the control in its different states for the Normal and Button style control . CheckState Appearance.Normal Appearance.Button Checked The displays a check mark. The control appears sunken. Unchecked The is empty. The control appears raised. Indeterminate The displays a check mark and is shaded. The control appears flat. Gets or sets the state of the . 1.0.5000.0 2.0.0.0 Event System.EventHandler For more information about handling events, see Consuming Events. Occurs when the value of the property changes. 1.0.5000.0 2.0.0.0 Method System.Windows.Forms.AccessibleObject If you do not explicitly call the method, it will be called when the property is referenced. To get or set the property, you must add a reference to the Accessibility assembly installed with the .NET Framework. Creates a new accessibility object for the control. A new for the control. 1.0.5000.0 2.0.0.0 Property System.Windows.Forms.CreateParams To be added. To be added. Gets the required creation parameters when the control handle is created. 1.0.5000.0 2.0.0.0 Property System.Drawing.Size To be added. To be added. Gets the default size of the control. 1.0.5000.0 2.0.0.0 Event System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.EventHandler By default, the and enumerations are set to false for the control, and the event is not raised. This event is not relevant to this class. Occurs when the user double-clicks the control. 1.0.5000.0 2.0.0.0 Event 2.0.0.0 System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) System.ComponentModel.Browsable(false) System.Windows.Forms.MouseEventHandler By default, the and style bits are set to false for the control, and the event is not raised. This event is not relevant to this class. Occurs when the user double-clicks the control. Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The 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. Raises the event. An that contains the event data. 1.0.5000.0 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The 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. Raises the event. An that contains the event data. 1.0.5000.0 2.0.0.0 Method System.Void Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The 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. Raises the event. An that contains the event data. 1.0.5000.0 2.0.0.0 Method System.Void The method changes the property. If the property is set to true, subsequent clicks of the will result in cycling through all the values of the enumeration. Otherwise, switches between and . Raising an event invokes the event handler through a delegate. For more information, see Raising an Event. The 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. Raises the event. An that contains the event data. 1.0.5000.0 2.0.0.0 Method System.Void To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Method 2.0.0.0 System.Void To be added. To be added. Contains data for the event. Method System.Void To be added. To be added. To be added. 1.0.5000.0 2.0.0.0 Method System.Boolean This method is called to give a control the opportunity to process a mnemonic character. The method should determine whether the control is in a state to process mnemonics and if whether the given character represents a mnemonic. If so, the method should perform the action associated with the mnemonic and return true. If not, the method should return false. Implementations of this method often use the method to determine whether the given character matches a mnemonic in the control's text. For example: if (CanSelect && IsMnemonic(charCode, MyControl.Text) { // Perform action associated with mnemonic. } This default implementation of the method simply returns false to indicate that the control has no mnemonic. Processes a mnemonic character. true if the character was processed as a mnemonic by the control; otherwise, false. The character to process. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue(System.Drawing.ContentAlignment.MiddleLeft) System.Drawing.ContentAlignment To be added. To be added. Gets or sets the alignment of the text on the control. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(false) System.Boolean To be added. If the property is set to false, the property value can only be set to the Indeterminate value of in code and not by user interaction. Gets or sets a value indicating whether the will allow three check states rather than two. 1.0.5000.0 2.0.0.0 Method System.String To be added. Returns a string that represents the current control. A string that states the control type and the state of the property. 1.0.5000.0 2.0.0.0