Search Results for

    Show / Hide Table of Contents

    Class ColorComboBox

    Represents a combobox that allows 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.UserControl
    ColorComboBox
    Namespace: FastReport.Controls
    Assembly: FastReport.dll
    Syntax
    public class ColorComboBox : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
    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
    Overrides
    System.Windows.Forms.ContainerControl.Dispose(System.Boolean)

    OnLayout(LayoutEventArgs)

    Declaration
    protected override void OnLayout(LayoutEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.LayoutEventArgs e
    Overrides
    System.Windows.Forms.ContainerControl.OnLayout(System.Windows.Forms.LayoutEventArgs)

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e
    Overrides
    System.Windows.Forms.Control.OnPaint(System.Windows.Forms.PaintEventArgs)

    OnResize(EventArgs)

    Declaration
    protected override void OnResize(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e
    Overrides
    System.Windows.Forms.UserControl.OnResize(System.EventArgs)

    Events

    ColorSelected

    This event is raised when you select a color.

    Declaration
    public event EventHandler ColorSelected
    Event Type
    Type Description
    System.EventHandler

    Extension Methods

    UIUtils.DrawImageAndText(Control, DrawItemEventArgs, Image, String)
    UIUtils.DrawVisualStyleBorder(Control, Graphics, Rectangle)
    UIUtils.Dpi(Control)
    UIUtils.DpiMultiplier(Control)
    UIUtils.FontDpiMultiplier(Control)
    UIUtils.LogicalToDevice(Control, Int32)
    UIUtils.LogicalToDevice(Control, Single)
    UIUtils.LogicalToDevice(Control, Rectangle)
    UIUtils.LogicalToDevice(Control, Point)
    UIUtils.LogicalToDevice(Control, Size)
    UIUtils.LogicalToDevice(Control, Font, Boolean)
    UIUtils.GetImage(Control, Int32)
    UIUtils.GetImage(Control, String)
    UIUtils.GetImages(Control)
    Back to top © 1998-2025 Copyright Fast Reports Inc.