Class QuickComboBoxEx
QuickComboBoxEx class
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class QuickComboBoxEx : ToolStripComboBoxEx, IDisposable, IQuickItem
Constructors
QuickComboBoxEx()
Creates new instance of QuickComboboxEx.
Declaration
public QuickComboBoxEx()
QuickComboBoxEx(ToolStripComboBoxEx)
Creates new instance of QuickComboboxEx.
Declaration
public QuickComboBoxEx(ToolStripComboBoxEx reflectedItem)
Parameters
Type | Name | Description |
---|---|---|
ToolStripComboBoxEx | reflectedItem | ToolStripComboBox to reflect. |
QuickComboBoxEx(ToolStripComboBoxEx, Boolean)
Creates and initializes new instance of QuickComboboxEx.
Declaration
public QuickComboBoxEx(ToolStripComboBoxEx reflectedItem, bool bExactCopy)
Parameters
Type | Name | Description |
---|---|---|
ToolStripComboBoxEx | reflectedItem | ToolStripComboBox to reflect. |
System.Boolean | bExactCopy |
Properties
Enabled
Gets / Sets whether the QuickComboBoxExReflectable enabled or disabled.
Declaration
public override bool Enabled { get; set; }
Property Value
Type |
---|
System.Boolean |
ReflectedComboBox
Gets or sets ComboBox that is reflected by current QuickComboboxEx.
Declaration
public ToolStripComboBoxEx ReflectedComboBox { get; set; }
Property Value
Type |
---|
ToolStripComboBoxEx |
ReflectedComponent
Gets component that is reflected by current QuickComboboxEx.
Declaration
public Component ReflectedComponent { get; }
Property Value
Type |
---|
System.ComponentModel.Component |
RightToLeft
Gets or sets a value indicating whether items are to be placed from right to left and text is to be written from right to left.
Declaration
public override RightToLeft RightToLeft { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Forms.RightToLeft | true if items are to be placed from right to left and text is to be written from right to left; otherwise, false. |
Size
Gets / Sets the size of the item. (Overrides)
Declaration
public override Size Size { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
GetPreferredSize(Size)
Retrieves the size of a rectangular area into which a control can be fit.
Declaration
public override Size GetPreferredSize(Size constrainingSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | constrainingSize | The custom-sized area for a control. |
Returns
Type | Description |
---|---|
System.Drawing.Size | A System.Drawing.Size ordered pair, representing the width and height of a rectangle. |
OnLayout(LayoutEventArgs)
To update size of the ComboBoxEx in higher scaling
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.LayoutEventArgs | e |
OnSelectedIndexChanged(EventArgs)
Declaration
protected override void OnSelectedIndexChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Overrides
OnTextChanged(EventArgs)
Updates text of reflected combobox.
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
Reflects(IComponent)
Checks whether current class instance reflects given component.
Declaration
public bool Reflects(IComponent c)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.IComponent | c | Provide functionality for all required components. |
Returns
Type |
---|
System.Boolean |
Reset()
Update properties from reflected combobox
Declaration
public void Reset()