Class ColorPopup
Represents a popup window that alows to choose a color.
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.Form
ColorPopup
Inherited Members
Namespace: FastReport.Controls
Assembly: FastReport.dll
Syntax
public class ColorPopup : PopupWindow, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Remarks
This control may be useful if you write own components for FastReport.
Constructors
ColorPopup(Form)
Initializes a new instance of the ColorPopup class with default settings.
Declaration
public ColorPopup(Form ownerForm)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Form | ownerForm | The main form that owns this popup control. |
Properties
Color
Gets or sets the selected color.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Color |
Events
ColorSelected
This event is raised when you select a color.
Declaration
public event EventHandler ColorSelected
Event Type
Type | Description |
---|---|
System.EventHandler |