Sets the RibbonButton's superordinate display settings and gets its corresponding text icon relation rendering to the current group's width.


public IconTextRelation DisplayMode { get; set; }
Public Property DisplayMode() As IconTextRelation


The following example shows a RibbonButton class with its two properties. The Description property sets the description text "My RibbonButton" that will appear on this button when the DisplayMode property is set to LargeIconLabeled.

TXTextControl.Windows.Forms.Ribbon.RibbonButton ribbonButton =
new TXTextControl.Windows.Forms.Ribbon.RibbonButton();

    ribbonButton.Description = "My RibbonButton";
    ribbonButton.DisplayMode =     
Dim ribbonButton As TXTextControl.Windows.Forms.Ribbon.RibbonButton = 
New TXTextControl.Windows.Forms.Ribbon.RibbonButton()

    ribbonButton.Description = "My RibbonButton"
    ribbonButton.DisplayMode =