Class ComboBoxStyle
- Namespace
- Myra.Graphics2D.UI.Styles
- Assembly
- Myra.dll
Style class that defines the visual appearance of combo box widgets.
public class ComboBoxStyle : ButtonStyle
- Inheritance
-
ComboBoxStyle
- Inherited Members
Constructors
ComboBoxStyle()
Initializes a new instance of the ComboBoxStyle class.
public ComboBoxStyle()
ComboBoxStyle(ComboBoxStyle)
Initializes a new instance of the ComboBoxStyle class by copying properties from another style.
public ComboBoxStyle(ComboBoxStyle style)
Parameters
styleComboBoxStyleThe source combo box style to copy from.
Properties
LabelStyle
Gets or sets the style applied to the combo box's label.
[Browsable(false)]
public LabelStyle LabelStyle { get; set; }
Property Value
ListBoxStyle
Gets or sets the style applied to the combo box's dropdown list.
[Browsable(false)]
public ListBoxStyle ListBoxStyle { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this combo box style.
public override WidgetStyle Clone()
Returns
- WidgetStyle
A new ComboBoxStyle instance with the same properties.