Table of Contents

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

copy ExComboBoxStyle

style 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

type StyleType

type 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

Color?

BackColor

Foreground color of the Control.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color? BackColor { get; set; }

Property Value

Color?

BorderColor

Color of the control's border.

[Browsable(true)]
[ExCategory(CategoryType.Appearance)]
public Color? BorderColor { get; set; }

Property Value

Color?

ButtonBackColor

Background color of the dropdown button

[ExCategory(CategoryType.Appearance)]
[ExDescription("Background color of the dropdown button.")]
public Color? ButtonBackColor { get; set; }

Property Value

Color?

ButtonBorderColor

Border color of the dropdown button

[ExCategory(CategoryType.Appearance)]
[ExDescription("Border color of the dropdown button.")]
public Color? ButtonBorderColor { get; set; }

Property Value

Color?

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

Color?

Type

Gets the state of the combo box this style is used for.

public StyleType Type { get; }

Property Value

StyleType

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

e ExPropertyChangedEventArgs

The event data.

Events

PropertyChanged

Occurs when a property value changes.

public event EventHandler<ExPropertyChangedEventArgs>? PropertyChanged

Event Type

EventHandler<ExPropertyChangedEventArgs>