Button Class

 

Represents a Windows Forms button that can be added to a Microsoft Office Excel worksheet.

Namespace:   Microsoft.Office.Tools.Excel.Controls
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ButtonBase
          System.Windows.Forms.Button
            Microsoft.Office.Tools.Excel.Controls.Button

[DefaultPropertyAttribute("Text")]
[ToolboxItemAttribute(false)]
[DefaultEventAttribute("Click")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class Button : Button

NameDescription
System_CAPS_pubpropertyAccessibilityObject

(Inherited from Control.)

System_CAPS_pubpropertyAccessibleDefaultActionDescription

(Inherited from Control.)

System_CAPS_pubpropertyAccessibleDescription

(Inherited from Control.)

System_CAPS_pubpropertyAccessibleName

(Inherited from Control.)

System_CAPS_pubpropertyAccessibleRole

(Inherited from Control.)

System_CAPS_pubpropertyAllowDrop

(Inherited from Control.)

System_CAPS_pubpropertyAltHTML

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyAnchor

(Inherited from Control.)

System_CAPS_pubpropertyApplication

Gets an Application object that represents the creator of the Button.

System_CAPS_pubpropertyAutoEllipsis

(Inherited from ButtonBase.)

System_CAPS_pubpropertyAutoScrollOffset

(Inherited from Control.)

System_CAPS_pubpropertyAutoSize

(Inherited from ButtonBase.)

System_CAPS_pubpropertyAutoSizeMode

(Inherited from Button.)

System_CAPS_pubpropertyBackColor

(Inherited from ButtonBase.)

System_CAPS_pubpropertyBackgroundImage

(Inherited from Control.)

System_CAPS_pubpropertyBackgroundImageLayout

(Inherited from Control.)

System_CAPS_pubpropertyBindingContext

(Inherited from Control.)

System_CAPS_pubpropertyBorder

Gets a Border that represents the border of the Button.

System_CAPS_pubpropertyBottom

Gets the distance, in points, between the bottom edge of the Button and the top edge of the worksheet.

System_CAPS_pubpropertyBottomRightCell

Gets a Range object that represents the cell that lies under the lower-right corner of the Button.

System_CAPS_pubpropertyBounds

(Inherited from Control.)

System_CAPS_protpropertyCanEnableIme

(Inherited from Control.)

System_CAPS_pubpropertyCanFocus

(Inherited from Control.)

System_CAPS_protpropertyCanRaiseEvents

(Inherited from Control.)

System_CAPS_pubpropertyCanSelect

(Inherited from Control.)

System_CAPS_pubpropertyCapture

(Inherited from Control.)

System_CAPS_pubpropertyCausesValidation

(Inherited from Control.)

System_CAPS_pubpropertyClientRectangle

(Inherited from Control.)

System_CAPS_pubpropertyClientSize

(Inherited from Control.)

System_CAPS_pubpropertyCompanyName

(Inherited from Control.)

System_CAPS_pubpropertyContainer

(Inherited from Component.)

System_CAPS_pubpropertyContainsFocus

(Inherited from Control.)

System_CAPS_pubpropertyContextMenu

(Inherited from Control.)

System_CAPS_pubpropertyContextMenuStrip

(Inherited from Control.)

System_CAPS_pubpropertyControls

(Inherited from Control.)

System_CAPS_pubpropertyCreated

(Inherited from Control.)

System_CAPS_protpropertyCreateParams

(Inherited from Button.)

System_CAPS_pubpropertyCreator

Gets a value that indicates the application in which the Button was created.

System_CAPS_pubpropertyCursor

(Inherited from Control.)

System_CAPS_pubpropertyDataBindings

(Inherited from Control.)

System_CAPS_protpropertyDefaultCursor

(Inherited from Control.)

System_CAPS_protpropertyDefaultImeMode

(Inherited from ButtonBase.)

System_CAPS_protpropertyDefaultMargin

(Inherited from Control.)

System_CAPS_protpropertyDefaultMaximumSize

(Inherited from Control.)

System_CAPS_protpropertyDefaultMinimumSize

(Inherited from Control.)

System_CAPS_protpropertyDefaultPadding

(Inherited from Control.)

System_CAPS_protpropertyDefaultSize

(Inherited from ButtonBase.)

System_CAPS_protpropertyDesignMode

(Inherited from Component.)

System_CAPS_pubpropertyDialogResult

(Inherited from Button.)

System_CAPS_pubpropertyDisplayRectangle

(Inherited from Control.)

System_CAPS_pubpropertyDisposing

(Inherited from Control.)

System_CAPS_pubpropertyDock

(Inherited from Control.)

System_CAPS_protpropertyDoubleBuffered

(Inherited from Control.)

System_CAPS_pubpropertyEnabled

(Inherited from Control.)

System_CAPS_protpropertyEvents

(Inherited from Component.)

System_CAPS_pubpropertyFlatAppearance

(Inherited from ButtonBase.)

System_CAPS_pubpropertyFlatStyle

(Inherited from ButtonBase.)

System_CAPS_pubpropertyFocused

(Inherited from Control.)

System_CAPS_pubpropertyFont

(Inherited from Control.)

System_CAPS_protpropertyFontHeight

(Inherited from Control.)

System_CAPS_pubpropertyForeColor

(Inherited from Control.)

System_CAPS_pubpropertyHandle

(Inherited from Control.)

System_CAPS_pubpropertyHasChildren

(Inherited from Control.)

System_CAPS_pubpropertyHeight

Gets or sets the height of the Button.

System_CAPS_pubpropertyImage

(Inherited from ButtonBase.)

System_CAPS_pubpropertyImageAlign

(Inherited from ButtonBase.)

System_CAPS_pubpropertyImageIndex

(Inherited from ButtonBase.)

System_CAPS_pubpropertyImageKey

(Inherited from ButtonBase.)

System_CAPS_pubpropertyImageList

(Inherited from ButtonBase.)

System_CAPS_pubpropertyImeMode

(Inherited from Control.)

System_CAPS_protpropertyImeModeBase

(Inherited from Control.)

System_CAPS_pubpropertyIndex

Gets the index number of the Button within the collection of OLEObjects on the sheet.

System_CAPS_pubpropertyInterior

Gets an Interior object that represents the interior of the Button.

System_CAPS_pubpropertyInvokeRequired

(Inherited from Control.)

System_CAPS_pubpropertyIsAccessible

(Inherited from Control.)

System_CAPS_protpropertyIsDefault

(Inherited from ButtonBase.)

System_CAPS_pubpropertyIsDisposed

(Inherited from Control.)

System_CAPS_pubpropertyIsHandleCreated

(Inherited from Control.)

System_CAPS_pubpropertyIsMirrored

(Inherited from Control.)

System_CAPS_pubpropertyLayoutEngine

(Inherited from Control.)

System_CAPS_pubpropertyLeft

Gets or sets the distance, in points, between the left edge of the Button and the left edge of the worksheet.

System_CAPS_pubpropertyLocation

(Inherited from Control.)

System_CAPS_pubpropertyLocked

Gets or sets a value that indicates whether the Button can be modified at design time when the sheet is protected.

System_CAPS_pubpropertyMargin

(Inherited from Control.)

System_CAPS_pubpropertyMaximumSize

(Inherited from Control.)

System_CAPS_pubpropertyMinimumSize

(Inherited from Control.)

System_CAPS_pubpropertyName

(Inherited from Control.)

System_CAPS_pubpropertyOLEType

Gets a value that represents the OLE object type.

System_CAPS_pubpropertyOnAction

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyPadding

(Inherited from Control.)

System_CAPS_pubpropertyParent

Gets the parent object for the Button.

System_CAPS_pubpropertyPlacement

Gets or sets an object that indicates the way the Button is attached to the cells below it.

System_CAPS_pubpropertyPreferredSize

(Inherited from Control.)

System_CAPS_pubpropertyPrintObject

Gets or sets a value that indicates whether the Button is printed when the worksheet is printed.

System_CAPS_pubpropertyProductName

(Inherited from Control.)

System_CAPS_pubpropertyProductVersion

(Inherited from Control.)

System_CAPS_pubpropertyRecreatingHandle

(Inherited from Control.)

System_CAPS_pubpropertyRegion

(Inherited from Control.)

System_CAPS_protpropertyRenderRightToLeft

(Inherited from Control.)

System_CAPS_protpropertyResizeRedraw

(Inherited from Control.)

System_CAPS_pubpropertyRight

Gets the distance, in points, between the right edge of the Button and the left edge of the worksheet.

System_CAPS_pubpropertyRightToLeft

(Inherited from Control.)

System_CAPS_protpropertyScaleChildren

(Inherited from Control.)

System_CAPS_pubpropertyShapeRange

Gets a Microsoft.Office.Interop.Excel.ShapeRange object that represents the Button.

System_CAPS_protpropertyShowFocusCues

(Inherited from Control.)

System_CAPS_protpropertyShowKeyboardCues

(Inherited from Control.)

System_CAPS_pubpropertySite

(Inherited from Control.)

System_CAPS_pubpropertySize

(Inherited from Control.)

System_CAPS_pubpropertySourceName

Gets or sets the link source name of the Button.

System_CAPS_pubpropertyTabIndex

(Inherited from Control.)

System_CAPS_pubpropertyTabStop

(Inherited from Control.)

System_CAPS_pubpropertyTag

(Inherited from Control.)

System_CAPS_pubpropertyText

(Inherited from ButtonBase.)

System_CAPS_pubpropertyTextAlign

(Inherited from ButtonBase.)

System_CAPS_pubpropertyTextImageRelation

(Inherited from ButtonBase.)

System_CAPS_pubpropertyTop

Gets or sets the distance, in points, between the top edge of the Button and the top edge of the worksheet.

System_CAPS_pubpropertyTopLeftCell

Gets a Range object that represents the cell that lies under the upper-left corner of the Button.

System_CAPS_pubpropertyTopLevelControl

(Inherited from Control.)

System_CAPS_pubpropertyUseCompatibleTextRendering

(Inherited from ButtonBase.)

System_CAPS_pubpropertyUseMnemonic

(Inherited from ButtonBase.)

System_CAPS_pubpropertyUseVisualStyleBackColor

(Inherited from ButtonBase.)

System_CAPS_pubpropertyUseWaitCursor

(Inherited from Control.)

System_CAPS_pubpropertyVisible

Gets or sets a value that represents whether the Button is visible.

System_CAPS_pubpropertyWidth

Gets or sets the width of the Button in points.

System_CAPS_pubpropertyZOrder

Gets the z-order position of the Button.

NameDescription
System_CAPS_protmethodAccessibilityNotifyClients(AccessibleEvents, Int32)

(Inherited from Control.)

System_CAPS_protmethodAccessibilityNotifyClients(AccessibleEvents, Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethodActivate()

Activates the Button.

System_CAPS_pubmethodBeginInvoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethodBeginInvoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_pubmethodBringToFront()

Brings the Button to the front of the z-order.

System_CAPS_pubmethodContains(Control)

(Inherited from Control.)

System_CAPS_pubmethodCopyPicture(XlPictureAppearance, XlCopyPictureFormat)

Copies the Button to the Clipboard as a picture.

System_CAPS_protmethodCreateAccessibilityInstance()

(Inherited from ButtonBase.)

System_CAPS_pubmethodCreateControl()

(Inherited from Control.)

System_CAPS_protmethodCreateControlsInstance()

(Inherited from Control.)

System_CAPS_pubmethodCreateGraphics()

(Inherited from Control.)

System_CAPS_protmethodCreateHandle()

(Inherited from Control.)

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodDefWndProc(Message)

(Inherited from Control.)

System_CAPS_pubmethodDelete()

Deletes a dynamically created Button from the worksheet and removes it from the ControlCollection.

System_CAPS_protmethodDestroyHandle()

(Inherited from Control.)

System_CAPS_pubmethodDispose()

(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

(Inherited from ButtonBase.)

System_CAPS_pubmethodDoDragDrop(Object, DragDropEffects)

(Inherited from Control.)

System_CAPS_pubmethodDrawToBitmap(Bitmap, Rectangle)

(Inherited from Control.)

System_CAPS_pubmethodEndInvoke(IAsyncResult)

(Inherited from Control.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Component.)

System_CAPS_pubmethodFindForm()

(Inherited from Control.)

System_CAPS_pubmethodFocus()

(Inherited from Control.)

System_CAPS_protmethodGetAccessibilityObjectById(Int32)

(Inherited from Control.)

System_CAPS_protmethodGetAutoSizeMode()

(Inherited from Control.)

System_CAPS_pubmethodGetChildAtPoint(Point)

(Inherited from Control.)

System_CAPS_pubmethodGetChildAtPoint(Point, GetChildAtPointSkip)

(Inherited from Control.)

System_CAPS_pubmethodGetContainerControl()

(Inherited from Control.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetNextControl(Control, Boolean)

(Inherited from Control.)

System_CAPS_pubmethodGetPreferredSize(Size)

(Inherited from ButtonBase.)

System_CAPS_protmethodGetScaledBounds(Rectangle, SizeF, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethodGetService(Type)

(Inherited from Component.)

System_CAPS_protmethodGetStyle(ControlStyles)

(Inherited from Control.)

System_CAPS_protmethodGetTopLevel()

(Inherited from Control.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHide()

(Inherited from Control.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodInitLayout()

(Inherited from Control.)

System_CAPS_pubmethodInvalidate()

(Inherited from Control.)

System_CAPS_pubmethodInvalidate(Boolean)

(Inherited from Control.)

System_CAPS_pubmethodInvalidate(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethodInvalidate(Rectangle, Boolean)

(Inherited from Control.)

System_CAPS_pubmethodInvalidate(Region)

(Inherited from Control.)

System_CAPS_pubmethodInvalidate(Region, Boolean)

(Inherited from Control.)

System_CAPS_pubmethodInvoke(Delegate)

(Inherited from Control.)

System_CAPS_pubmethodInvoke(Delegate, Object[])

(Inherited from Control.)

System_CAPS_protmethodInvokeGotFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethodInvokeLostFocus(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethodInvokeOnClick(Control, EventArgs)

(Inherited from Control.)

System_CAPS_protmethodInvokePaint(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethodInvokePaintBackground(Control, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethodIsInputChar(Char)

(Inherited from Control.)

System_CAPS_protmethodIsInputKey(Keys)

(Inherited from Control.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodNotifyDefault(Boolean)

(Inherited from Button.)

System_CAPS_protmethodNotifyInvalidate(Rectangle)

(Inherited from Control.)

System_CAPS_protmethodOnAutoSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnBackgroundImageLayoutChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnCausesValidationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnChangeUICues(UICuesEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnClick(EventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnClientSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnContextMenuChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnContextMenuStripChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnControlAdded(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnControlRemoved(ControlEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnCreateControl()

(Inherited from Control.)

System_CAPS_protmethodOnCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDockChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDoubleClick(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDragDrop(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDragEnter(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDragLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnDragOver(DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnEnabledChanged(EventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnEnter(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnFontChanged(EventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnGiveFeedback(GiveFeedbackEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnGotFocus(EventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnHandleCreated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnHandleDestroyed(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnHelpRequested(HelpEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnImeModeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnInvalidated(InvalidateEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnKeyDown(KeyEventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnKeyPress(KeyPressEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnKeyUp(KeyEventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnLayout(LayoutEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnLeave(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnLocationChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnLostFocus(EventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnMarginChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMouseCaptureChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMouseClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMouseDoubleClick(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMouseDown(MouseEventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnMouseEnter(EventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnMouseHover(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMouseLeave(EventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnMouseMove(MouseEventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnMouseUp(MouseEventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnMouseWheel(MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnMove(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnNotifyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethodOnPaddingChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnPaint(PaintEventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnPaintBackground(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentBackColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentBackgroundImageChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentBindingContextChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentChanged(EventArgs)

(Inherited from ButtonBase.)

System_CAPS_protmethodOnParentCursorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentEnabledChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentFontChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentForeColorChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentRightToLeftChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnParentVisibleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnPreviewKeyDown(PreviewKeyDownEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnPrint(PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnQueryContinueDrag(QueryContinueDragEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnRegionChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnResize(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnRightToLeftChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnSizeChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnStyleChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnSystemColorsChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnTabIndexChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnTabStopChanged(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnTextChanged(EventArgs)

(Inherited from Button.)

System_CAPS_protmethodOnValidated(EventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnValidating(CancelEventArgs)

(Inherited from Control.)

System_CAPS_protmethodOnVisibleChanged(EventArgs)

(Inherited from ButtonBase.)

System_CAPS_pubmethodPerformClick()

(Inherited from Button.)

System_CAPS_pubmethodPerformLayout()

(Inherited from Control.)

System_CAPS_pubmethodPerformLayout(Control, String)

(Inherited from Control.)

System_CAPS_pubmethodPointToClient(Point)

(Inherited from Control.)

System_CAPS_pubmethodPointToScreen(Point)

(Inherited from Control.)

System_CAPS_pubmethodPreProcessControlMessage(Message)

(Inherited from Control.)

System_CAPS_pubmethodPreProcessMessage(Message)

(Inherited from Control.)

System_CAPS_protmethodProcessCmdKey(Message, Keys)

(Inherited from Control.)

System_CAPS_protmethodProcessDialogChar(Char)

(Inherited from Control.)

System_CAPS_protmethodProcessDialogKey(Keys)

(Inherited from Control.)

System_CAPS_protmethodProcessKeyEventArgs(Message)

(Inherited from Control.)

System_CAPS_protmethodProcessKeyMessage(Message)

(Inherited from Control.)

System_CAPS_protmethodProcessKeyPreview(Message)

(Inherited from Control.)

System_CAPS_protmethodProcessMnemonic(Char)

(Inherited from Button.)

System_CAPS_protmethodRaiseDragEvent(Object, DragEventArgs)

(Inherited from Control.)

System_CAPS_protmethodRaiseKeyEvent(Object, KeyEventArgs)

(Inherited from Control.)

System_CAPS_protmethodRaiseMouseEvent(Object, MouseEventArgs)

(Inherited from Control.)

System_CAPS_protmethodRaisePaintEvent(Object, PaintEventArgs)

(Inherited from Control.)

System_CAPS_protmethodRecreateHandle()

(Inherited from Control.)

System_CAPS_pubmethodRectangleToClient(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethodRectangleToScreen(Rectangle)

(Inherited from Control.)

System_CAPS_pubmethodRefresh()

(Inherited from Control.)

System_CAPS_protmethodResetFlagsandPaint()

(Inherited from ButtonBase.)

System_CAPS_protmethodResetMouseEventArgs()

(Inherited from Control.)

System_CAPS_pubmethodResetText()

(Inherited from Control.)

System_CAPS_pubmethodResumeLayout()

(Inherited from Control.)

System_CAPS_pubmethodResumeLayout(Boolean)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateAlignment(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateAlignment(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateAlignment(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateContent(ContentAlignment)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateHorizontal(HorizontalAlignment)

(Inherited from Control.)

System_CAPS_protmethodRtlTranslateLeftRight(LeftRightAlignment)

(Inherited from Control.)

System_CAPS_pubmethodScale(SizeF)

(Inherited from Control.)

System_CAPS_protmethodScaleControl(SizeF, BoundsSpecified)

(Inherited from Control.)

System_CAPS_pubmethodSelect()

(Inherited from Control.)

System_CAPS_protmethodSelect(Boolean, Boolean)

(Inherited from Control.)

System_CAPS_pubmethodSelect(Object)

Selects the Button.

System_CAPS_pubmethodSelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)

(Inherited from Control.)

System_CAPS_pubmethodSendToBack()

Sends the Button to the back of the z-order.

System_CAPS_protmethodSetAutoSizeMode(AutoSizeMode)

(Inherited from Control.)

System_CAPS_pubmethodSetBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_pubmethodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethodSetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

(Inherited from Control.)

System_CAPS_protmethodSetClientSizeCore(Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethodSetStyle(ControlStyles, Boolean)

(Inherited from Control.)

System_CAPS_protmethodSetTopLevel(Boolean)

(Inherited from Control.)

System_CAPS_protmethodSetVisibleCore(Boolean)

Sets the Button to the specified visible state. (Overrides Control.SetVisibleCore(Boolean).)

System_CAPS_pubmethodShow()

(Inherited from Control.)

System_CAPS_protmethodSizeFromClientSize(Size)

(Inherited from Control.)

System_CAPS_pubmethodSuspendLayout()

(Inherited from Control.)

System_CAPS_pubmethodToString()

(Inherited from Button.)

System_CAPS_pubmethodUpdate()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_protmethodUpdateBounds()

(Inherited from Control.)

System_CAPS_protmethodUpdateBounds(Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethodUpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

(Inherited from Control.)

System_CAPS_protmethodUpdateStyles()

(Inherited from Control.)

System_CAPS_protmethodUpdateZOrder()

(Inherited from Control.)

System_CAPS_protmethodWndProc(Message)

(Inherited from Button.)

NameDescription
System_CAPS_pubeventAutoSizeChanged

(Inherited from ButtonBase.)

System_CAPS_pubeventBackColorChanged

(Inherited from Control.)

System_CAPS_pubeventBackgroundImageChanged

(Inherited from Control.)

System_CAPS_pubeventBackgroundImageLayoutChanged

(Inherited from Control.)

System_CAPS_pubeventBindingContextChanged

(Inherited from Control.)

System_CAPS_pubeventCausesValidationChanged

(Inherited from Control.)

System_CAPS_pubeventChangeUICues

(Inherited from Control.)

System_CAPS_pubeventClick

(Inherited from Control.)

System_CAPS_pubeventClientSizeChanged

(Inherited from Control.)

System_CAPS_pubeventContextMenuChanged

(Inherited from Control.)

System_CAPS_pubeventContextMenuStripChanged

(Inherited from Control.)

System_CAPS_pubeventControlAdded

(Inherited from Control.)

System_CAPS_pubeventControlRemoved

(Inherited from Control.)

System_CAPS_pubeventCursorChanged

(Inherited from Control.)

System_CAPS_pubeventDisposed

(Inherited from Component.)

System_CAPS_pubeventDockChanged

(Inherited from Control.)

System_CAPS_pubeventDoubleClick

(Inherited from Button.)

System_CAPS_pubeventDragDrop

(Inherited from Control.)

System_CAPS_pubeventDragEnter

(Inherited from Control.)

System_CAPS_pubeventDragLeave

(Inherited from Control.)

System_CAPS_pubeventDragOver

(Inherited from Control.)

System_CAPS_pubeventEnabledChanged

(Inherited from Control.)

System_CAPS_pubeventEnter

(Inherited from Control.)

System_CAPS_pubeventFontChanged

(Inherited from Control.)

System_CAPS_pubeventForeColorChanged

(Inherited from Control.)

System_CAPS_pubeventGiveFeedback

(Inherited from Control.)

System_CAPS_pubeventGotFocus

(Inherited from Control.)

System_CAPS_pubeventHandleCreated

(Inherited from Control.)

System_CAPS_pubeventHandleDestroyed

(Inherited from Control.)

System_CAPS_pubeventHelpRequested

(Inherited from Control.)

System_CAPS_pubeventImeModeChanged

(Inherited from Control.)

System_CAPS_pubeventInvalidated

(Inherited from Control.)

System_CAPS_pubeventKeyDown

(Inherited from Control.)

System_CAPS_pubeventKeyPress

(Inherited from Control.)

System_CAPS_pubeventKeyUp

(Inherited from Control.)

System_CAPS_pubeventLayout

(Inherited from Control.)

System_CAPS_pubeventLeave

(Inherited from Control.)

System_CAPS_pubeventLocationChanged

(Inherited from Control.)

System_CAPS_pubeventLostFocus

(Inherited from Control.)

System_CAPS_pubeventMarginChanged

(Inherited from Control.)

System_CAPS_pubeventMouseCaptureChanged

(Inherited from Control.)

System_CAPS_pubeventMouseClick

(Inherited from Control.)

System_CAPS_pubeventMouseDoubleClick

(Inherited from Button.)

System_CAPS_pubeventMouseDown

(Inherited from Control.)

System_CAPS_pubeventMouseEnter

(Inherited from Control.)

System_CAPS_pubeventMouseHover

(Inherited from Control.)

System_CAPS_pubeventMouseLeave

(Inherited from Control.)

System_CAPS_pubeventMouseMove

(Inherited from Control.)

System_CAPS_pubeventMouseUp

(Inherited from Control.)

System_CAPS_pubeventMouseWheel

(Inherited from Control.)

System_CAPS_pubeventMove

(Inherited from Control.)

System_CAPS_pubeventPaddingChanged

(Inherited from Control.)

System_CAPS_pubeventPaint

(Inherited from Control.)

System_CAPS_pubeventParentChanged

(Inherited from Control.)

System_CAPS_pubeventPreviewKeyDown

(Inherited from Control.)

System_CAPS_pubeventQueryAccessibilityHelp

(Inherited from Control.)

System_CAPS_pubeventQueryContinueDrag

(Inherited from Control.)

System_CAPS_pubeventRegionChanged

(Inherited from Control.)

System_CAPS_pubeventResize

(Inherited from Control.)

System_CAPS_pubeventRightToLeftChanged

(Inherited from Control.)

System_CAPS_pubeventSizeChanged

(Inherited from Control.)

System_CAPS_pubeventStyleChanged

(Inherited from Control.)

System_CAPS_pubeventSystemColorsChanged

(Inherited from Control.)

System_CAPS_pubeventTabIndexChanged

(Inherited from Control.)

System_CAPS_pubeventTabStopChanged

(Inherited from Control.)

System_CAPS_pubeventTextChanged

(Inherited from Control.)

System_CAPS_pubeventValidated

(Inherited from Control.)

System_CAPS_pubeventValidating

(Inherited from Control.)

System_CAPS_pubeventVisibleChanged

(Inherited from Control.)

The Microsoft.Office.Tools.Excel.Controls.Button is different from a System.Windows.Forms.Button. The Microsoft.Office.Tools.Excel.Controls.Button has additional members that enable it to be added to an Excel worksheet and that give it additional methods and properties.

Do not use the New constructor to create a new Button. Use the AddButton method to add a new Button to a worksheet.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: