Class ExComboBoxStyle
- Namespace
- ExControls
- Assembly
- ExControls.dll
Class for definition styles for ExComboBox
public class ExComboBoxStyle : IExNotifyPropertyChanged, ICloneable
- Inheritance
-
ExComboBoxStyle
- Implements
- Inherited Members
Constructors
ExComboBoxStyle()
Initializes a new instance of the ExComboBoxStyle class for the normal state (used by the designer).
public ExComboBoxStyle()
ExComboBoxStyle(ExComboBoxStyle)
Initializes a new instance of the ExComboBoxStyle class with the values of another style.
protected ExComboBoxStyle(ExComboBoxStyle copy)
Parameters
copyExComboBoxStylestyle to copy
ExComboBoxStyle(StyleType)
Initializes a new instance of the ExComboBoxStyle class for the specified state of the combo box.
public ExComboBoxStyle(StyleType type)
Parameters
typeStyleTypetype of the style
Properties
ArrowColor
Color of the arrow which is in this Control as the dropdown button
[ExCategory(CategoryType.Appearance)]
[ExDescription("Color of the arrow which is in this Control as the dropdown button.")]
public Color? ArrowColor { get; set; }
Property Value
BackColor
Foreground color of the Control.
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color? BackColor { get; set; }
Property Value
BorderColor
Color of the control's border.
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color? BorderColor { get; set; }
Property Value
ButtonBackColor
Background color of the dropdown button
[ExCategory(CategoryType.Appearance)]
[ExDescription("Background color of the dropdown button.")]
public Color? ButtonBackColor { get; set; }
Property Value
ButtonBorderColor
Border color of the dropdown button
[ExCategory(CategoryType.Appearance)]
[ExDescription("Border color of the dropdown button.")]
public Color? ButtonBorderColor { get; set; }
Property Value
ButtonRenderFirst
Gets or sets whether DropDown button has to draw first
[ExCategory(CategoryType.Appearance)]
[ExDescription("Gets or sets whether DropDown button has to be rendered first.")]
public bool? ButtonRenderFirst { get; set; }
Property Value
- bool?
ForeColor
Background color of the Control.
[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color? ForeColor { get; set; }
Property Value
Type
Gets the state of the combo box this style is used for.
public StyleType Type { get; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public virtual object Clone()
Returns
- object
A new object that is a copy of this instance.
OnPropertyChanged(ExPropertyChangedEventArgs)
Raises the PropertyChanged event.
protected void OnPropertyChanged(ExPropertyChangedEventArgs e)
Parameters
eExPropertyChangedEventArgsThe event data.
Events
PropertyChanged
Occurs when a property value changes.
public event EventHandler<ExPropertyChangedEventArgs>? PropertyChanged