| Revit 2017 API |
| RibbonItem..::..ItemText Property |
| RibbonItem Class See Also |
Gets or sets the text displayed on the item.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 17.0.0.0 (17.0.484.0)
Syntax
Remarks
The text can be changed at run time. nullNothingnullptra null reference (Nothing in Visual Basic) or empty string is not allowed.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when setting the text to empty or to the string contains "%". |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | Thrown when setting the text to nullNothingnullptra null reference (Nothing in Visual Basic). |