Overridden. Gets or sets the RibbonButton's text.

Syntax

public override string Text { get; set; }
Public Overrides Property Text() As String

Examples

This example shows how to set a RibbonButton´s Text property.

TXTextControl.Windows.Forms.Ribbon.RibbonButton ribbonButton = new TXTextControl.Windows.Forms.Ribbon.RibbonButton();
ribbonButton.Text = "My RibbonButton´s Text";
Dim ribbonButton As TXTextControl.Windows.Forms.Ribbon.RibbonButton = New TXTextControl.Windows.Forms.Ribbon.RibbonButton()
ribbonButton.Text = "My RibbonButton´s Text"

Further Reading

Learn more about the TXTextControl.Windows.Forms.Ribbon.RibbonButton.Text Property in the Text Control Blog: