RVTDocs.com
Namespace: Autodesk.Revit.UI

TextBox

Class
Description:
The TextBox object represents text-based control that allows the user to enter text.
Remarks:
The ItemText property inherited from RibbonItem has no effect. The text entered in the TextBox is edited by the UI user is accepted only if the user presses the Enter key or click the image button when ShowImageAsButton is true. If the user clicks off of this component without pressing Enter or click the image button; then the text will be reverted to the previous value. Use of this class is not supported in Revit Macros.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.UI.RibbonItem
    Autodesk.Revit.UI.TextBox
Syntax
public class TextBox : RibbonItem