TX Text Control .NET for Windows Forms

RibbonComboBox Class

Class|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. ComboBox
  2. RibbonComboBox

Description

The RibbonComboBox class represents a combobox which is inherited from the System.Windows.Forms.ComboBox class. For a list of properties, methods and events inherited from the System.Windows.Forms.ComboBox class see the .NET Framework reference.

Syntax

public class RibbonComboBox : ComboBox

Examples

The following example creates a Ribbon Combo Box instance and configures its key tip setting for a document workflow.

using TXTextControl.Windows.Forms.Ribbon.RibbonComboBox ribbonComboBox = new();
ribbonComboBox.KeyTip = "Quarterly report";

Members

Constructors

ConstructorDescription
RibbonComboBoxInitializes a new instance of the RibbonComboBox class.

Properties

PropertyDescription
DefaultBackColorNot described in the reference. public Color DefaultBackColor { get; }
EnabledNot described in the reference. public bool Enabled { get; set; }
KeyTipGets or sets the keyboard shortcut of the RibbonComboBox.
ParentCollectionGets the RibbonItemCollection that contains this RibbonComboBox.
ToolTipGets an object of type RibbonToolTip that displays text when the mouse pointer hovers over the item.
VisibleNot described in the reference. public bool Visible { get; set; }
WidthNot described in the reference. public int Width { get; set; }