System.Windows.Forms.ButtonBase: Property Members

The properties of System.Windows.Forms.ButtonBase are listed below. For a list of all members, see the ButtonBase Members list.

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

Public Properties

AutoEllipsisbool.

Gets or sets a value indicating whether the ellipsis character (...) appears at the right edge of the control, denoting that the control text extends beyond the specified length of the control.

override
AutoSizebool.

Gets or sets a value that indicates whether the control resizes based on its contents.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color of the control.

[read-only]
FlatAppearanceFlatButtonAppearance.

Gets the appearance of the border and the colors used to indicate check state and mouse state.

FlatStyleFlatStyle.

Gets or sets the flat style appearance of the button control.

ImageSystem.Drawing.Image.

Gets or sets the image that is displayed on a button control.

ImageAlignSystem.Drawing.ContentAlignment.

Gets or sets the alignment of the image on the button control.

ImageIndexint.

Gets or sets the image list index value of the image displayed on the button control.

ImageKeystring.

Gets or sets the key accessor for the image in the ButtonBase.ImageList.

ImageListImageList.

Gets or sets the System.Windows.Forms.ImageList that contains the System.Drawing.Image displayed on a button control.

ImeModeImeMode.

Gets or sets the Input Method Editor (IME) mode supported by this control. This property is not relevant for this class.

override
Textstring. Documentation for this section has not yet been entered.
TextAlignSystem.Drawing.ContentAlignment.

Gets or sets the alignment of the text on the button control.

TextImageRelationTextImageRelation.

Gets or sets the position of text and image relative to each other.

UseCompatibleTextRenderingbool.

Gets or sets a value that determines whether to use the System.Drawing.Graphics class (ndptecgdiplus) or the System.Windows.Forms.TextRenderer class (ndptecgdi) to render text.

UseMnemonicbool.

Gets or sets a value indicating whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control.

UseVisualStyleBackColorbool.

Gets or sets a value that determines if the background is drawn using visual styles, if supported.

Protected Properties

[read-only]
override
CreateParamsCreateParams. Documentation for this section has not yet been entered.
[read-only]
override
DefaultImeModeImeMode.

Gets the default Input Method Editor (IME) mode supported by this control.

[read-only]
override
DefaultSizeSystem.Drawing.Size. Documentation for this section has not yet been entered.
IsDefaultbool.

Gets or sets a value indicating whether the button control is the default button.