DisplayMode Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Sets the RibbonTextBox's superordinate display settings and gets its corresponding text icon relation rendering to the current group's width. The default value is IconTextRelation.SmallIconLabeled.
Syntax
public IconTextRelation DisplayMode { get; set; }Public Property DisplayMode As IconTextRelationExamples
The following example uses RibbonTextBox.DisplayMode to configure display mode as part of the ribbon text box workflow. The change is then applied to the active document or user interface.
ribbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled;
ribbonTextBox.Update();ribbonTextBox.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled
ribbonTextBox.Update()