System.Windows.Forms.ToolStripSplitButton Members

The members of System.Windows.Forms.ToolStripSplitButton are listed below.

See Also: Inherited members from System.Windows.Forms.ToolStripDropDownItem

Public Constructors

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified image.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified text.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified text and image.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified display text, image, and Control.Click event handler.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified text, image, and System.Windows.Forms.ToolStripItem array.

Initializes a new instance of the System.Windows.Forms.ToolStripSplitButton class with the specified display text, image, Control.Click event handler, and name.

Public Properties

AutoToolTipbool.

Gets or sets a value indicating whether default or custom System.Windows.Forms.ToolTip text is displayed on the System.Windows.Forms.ToolStripSplitButton.

[read-only]
ButtonBoundsSystem.Drawing.Rectangle.

Gets the size and location of the standard button portion of a System.Windows.Forms.ToolStripSplitButton.

[read-only]
ButtonPressedbool.

Gets a value indicating whether the button portion of the System.Windows.Forms.ToolStripSplitButton is in the pressed state.

[read-only]
ButtonSelectedbool.

Gets a value indicating whether the standard button portion of a System.Windows.Forms.ToolStripSplitButton is selected or the ToolStripSplitButton.DropDownButtonPressed property is true.

DefaultItemToolStripItem.

Gets or sets the portion of the System.Windows.Forms.ToolStripSplitButton that is activated when the control is first selected.

[read-only]
DropDownButtonBoundsSystem.Drawing.Rectangle.

Gets the size and location, in screen coordinates, of the drop-down button portion of a System.Windows.Forms.ToolStripSplitButton.

[read-only]
DropDownButtonPressedbool.

Gets a value indicating whether the drop-down portion of the System.Windows.Forms.ToolStripSplitButton is in the pressed state.

[read-only]
DropDownButtonSelectedbool.

Gets a value indicating whether the drop-down button portion of a System.Windows.Forms.ToolStripSplitButton is selected.

DropDownButtonWidthint.

The width, in pixels, of the drop-down button portion of a System.Windows.Forms.ToolStripSplitButton.

[read-only]
SplitterBoundsSystem.Drawing.Rectangle.

Gets the boundaries of the separator between the standard and drop-down button portions of a System.Windows.Forms.ToolStripSplitButton.

Protected Properties

[read-only]
override
DefaultAutoToolTipbool.

Gets a value indicating whether to display the System.Windows.Forms.ToolTip that is defined as the default.

[read-only]
override
DismissWhenClickedbool.

Gets a value indicating whether items on a System.Windows.Forms.ToolStripSplitButton are hidden after they are clicked.

Public Methods

override
GetPreferredSize(System.Drawing.Size) : System.Drawing.Size

Retrieves the size of a rectangular area into which a System.Windows.Forms.ToolStripSplitButton can be fitted.

OnButtonDoubleClick(EventArgs)

Raises the ToolStripSplitButton.ButtonDoubleClick event.

PerformButtonClick()

If the ToolStripItem.Enabled property is true, calls the ToolStripSplitButton.OnButtonClick(EventArgs) method.

ResetDropDownButtonWidth()

This method is not relevant to this class.

Protected Methods

override
CreateAccessibilityInstance() : AccessibleObject

Creates a new accessibility object for the System.Windows.Forms.ToolStripSplitButton.

override
CreateDefaultDropDown() : ToolStripDropDown
Documentation for this section has not yet been entered.
OnButtonClick(EventArgs)

Raises the ToolStripSplitButton.ButtonClick event.

OnDefaultItemChanged(EventArgs)

Raises the ToolStripSplitButton.DefaultItemChanged event.

override
OnMouseDown(MouseEventArgs)

Raises the Control.MouseDown event.

override
OnMouseLeave(EventArgs)

Raises the Control.MouseLeave event.

override
OnMouseUp(MouseEventArgs)

Raises the Control.MouseUp event.

override
OnPaint(PaintEventArgs)
Documentation for this section has not yet been entered.
override
OnRightToLeftChanged(EventArgs)

Raises the Control.RightToLeftChanged event.

override
ProcessDialogKey(Keys) : bool

Processes a dialog key.

override
ProcessMnemonic(char) : bool

Processes a mnemonic character.

Public Events

ButtonClick

Occurs when the standard button portion of a System.Windows.Forms.ToolStripSplitButton is clicked.

ButtonDoubleClick

Occurs when the standard button portion of a System.Windows.Forms.ToolStripSplitButton is double-clicked.

DefaultItemChanged

Occurs when the ToolStripSplitButton.DefaultItem has changed.