System.Windows.Forms.ToolStripControlHost: Property Members

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

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

Public Properties

override
BackColorSystem.Drawing.Color.

Gets or sets the background color for the control.

override
BackgroundImageSystem.Drawing.Image.

Gets or sets the background image displayed in the control.

override
BackgroundImageLayoutImageLayout.

Gets or sets the background image layout as defined in the ImageLayout enumeration.

[read-only]
override
CanSelectbool.

Gets a value indicating whether the control can be selected.

CausesValidationbool.

Gets or sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus.

[read-only]
ControlControl.

Gets the System.Windows.Forms.Control that this System.Windows.Forms.ToolStripControlHost is hosting.

ControlAlignSystem.Drawing.ContentAlignment.

Gets or sets the alignment of the control on the form.

DisplayStyleToolStripItemDisplayStyle.

This property is not relevant to this class.

DoubleClickEnabledbool.

This property is not relevant to this class.

override
Enabledbool.

Gets or sets a value indicating whether the parent control of the System.Windows.Forms.ToolStripItem is enabled.

[read-only]
Focusedbool.

Gets a value indicating whether the control has input focus.

override
FontSystem.Drawing.Font.

Gets or sets the font to be used on the hosted control.

override
ForeColorSystem.Drawing.Color.

Gets or sets the foreground color of the hosted control.

override
ImageSystem.Drawing.Image.

The image associated with the object.

ImageAlignSystem.Drawing.ContentAlignment.

This property is not relevant to this class.

ImageScalingToolStripItemImageScaling.

This property is not relevant to this class.

ImageTransparentColorSystem.Drawing.Color.

This property is not relevant to this class.

override
RightToLeftRightToLeft.

Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

RightToLeftAutoMirrorImagebool.

This property is not relevant to this class.

[read-only]
override
Selectedbool.

Gets a value indicating whether the item is selected.

override
SiteSystem.ComponentModel.ISite.

Gets or sets the site of the hosted control.

override
SizeSystem.Drawing.Size.

Gets or sets the size of the System.Windows.Forms.ToolStripItem.

override
Textstring.

Gets or sets the text to be displayed on the hosted control.

TextAlignSystem.Drawing.ContentAlignment.

This property is not relevant to this class.

override
TextDirectionToolStripTextDirection.

This property is not relevant to this class.

TextImageRelationTextImageRelation.

This property is not relevant to this class.

Protected Properties

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.