ButtonData.Text Property
The user-visible text of the button.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public string Text { get; set; }
Property Value
String
Exceptions
Exception
Condition
ArgumentNullException
Thrown when setting the value to
null
.
ArgumentException
Thrown when setting the value to an empty string, or when the value contains invalid characters.
See Also
Reference
ButtonData Class
Autodesk.Revit.UI Namespace