Sets the Ribbon
public IconTextRelation DisplayMode { get; set; }
Public Property DisplayMode() As IconTextRelation
This sample code shows how to set the Display
TXTextControl.Windows.Forms.Ribbon.RibbonTextBox MyRibbonTextBox = new TXTextControl.Windows.Forms.Ribbon.RibbonTextBox();
MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled; // Is also the default value of the display settings.
//Second possibility
//MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.LargeIconLabeled
//Third possibility
//MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled
//Fourth possibility
//MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconUnlabeled
Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled 'Is also the default value of the display settings.
' Second possibility
Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled 'Is also the default value of the display settings.
'Third possibility
Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled 'Is also the default value of the display settings.
'Fourth possibility
Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
MyRibbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.SmallIconLabeled 'Is also the default value of the display settings.