The TextBox type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from RibbonItem.)
Public methodGetContextualHelp
Gets the contextual help bound with this control.
(Inherited from RibbonItem.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetContextualHelp
Sets the contextual help bound with this button.
(Inherited from RibbonItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyEnabled
Gets or sets a value indicating whether the item is enabled.
(Inherited from RibbonItem.)
Public propertyImage
The image of the TextBox.
Public propertyItemText
Gets or sets the text displayed on the item.
(Inherited from RibbonItem.)
Public propertyItemType
Gets the item type.
(Inherited from RibbonItem.)
Public propertyLongDescription
Long description of the command tooltip
(Inherited from RibbonItem.)
Public propertyName
The name of the item.
(Inherited from RibbonItem.)
Public propertyPromptText
The prompt text for the text box.
Public propertySelectTextOnFocus
A value that indicates if the text is selected when the text box gains focus.
Public propertyShowImageAsButton
Gets or sets a value that indicates if the Image set in the text box should be displayed as a clickable button.
Public propertyToolTip
The description that appears as a ToolTip for the item.
(Inherited from RibbonItem.)
Public propertyToolTipImage
The image to show as a part of the button extended tooltip
(Inherited from RibbonItem.)
Public propertyValue
The object that supplies the text value.
Public propertyVisible
Gets or sets a value indicating whether the item is visible.
(Inherited from RibbonItem.)
Public propertyWidth
Gets or sets the width of the TextBox.

Events

  NameDescription
Public eventEnterPressed
Subscribe to this event to be notified when the Enter button is pressed in the text box.

See Also