RibbonComboBox Class
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
- Inherits
- Combo
Box - Ribbon
Combo Box
- Combo
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 : ComboBoxPublic Class RibbonComboBox
Inherits ComboBoxExamples
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";Dim ribbonComboBox As New TXTextControl.Windows.Forms.Ribbon.RibbonComboBox()
ribbonComboBox.KeyTip = "Quarterly report"Members
Constructors
| Constructor | Description |
|---|---|
| RibbonComboBox | Initializes a new instance of the RibbonComboBox class. |
Properties
| Property | Description |
|---|---|
| DefaultBackColor | Not described in the reference. public Color DefaultBackColor { get; } |
| Enabled | Not described in the reference. public bool Enabled { get; set; } |
| KeyTip | Gets or sets the keyboard shortcut of the RibbonComboBox. |
| ParentCollection | Gets the RibbonItemCollection that contains this RibbonComboBox. |
| ToolTip | Gets an object of type RibbonToolTip that displays text when the mouse pointer hovers over the item. |
| Visible | Not described in the reference. public bool Visible { get; set; } |
| Width | Not described in the reference. public int Width { get; set; } |