Class ColorComboBox
Represents a combobox that allows to choose a color.
Inheritance
System.Object
ColorComboBox
Namespace: FastReport.Controls
Assembly: FastReport.dll
Syntax
public class ColorComboBox : UserControl
Remarks
This control may be useful if you write own components for FastReport.
Constructors
ColorComboBox()
Initializes a new instance of the ColorComboBox class with default settings.
Declaration
public ColorComboBox()
Properties
Color
Gets or sets the selected color.
Declaration
public Color Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color |
ShowColorName
Gets or sets value indicating whether it is necessary to show a color name in a combobox.
Declaration
public bool ShowColorName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| LayoutEventArgs | e |
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintEventArgs | e |
OnResize(EventArgs)
Declaration
protected override void OnResize(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| System.EventArgs | e |
Events
ColorSelected
This event is raised when you select a color.
Declaration
public event EventHandler ColorSelected
Event Type
| Type | Description |
|---|---|
| System.EventHandler |