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 RibbonButton's superordinate display settings and gets its corresponding text icon relation rendering to the current group's width.
Syntax
public IconTextRelation DisplayMode { get; set; }Public Property DisplayMode As IconTextRelationExamples
The following example uses RibbonButton.DisplayMode to configure display mode as part of the ribbon button workflow. The change is then applied to the active document or user interface.
ribbonButton.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled;
ribbonButton.Update();ribbonButton.DisplayMode = TXTextControl.Windows.Forms.Ribbon.IconTextRelation.NoIconLabeled
ribbonButton.Update()