RibbonItem.ItemText
Description:
Gets or sets the text displayed on the item.
Gets or sets the text displayed on the item.
Remarks:
The text can be changed at run time. .a null reference (Nothing in Visual Basic) or empty string is not allowed.
The text can be changed at run time. .a null reference (Nothing in Visual Basic) or empty string is not allowed.
public virtual string ItemText { get; set; }
-
Thrown when setting the text to empty or to the string contains "%".
-
Thrown when setting the text tonullNothingnullptra null reference (Nothingin Visual Basic).