Search Results for

    Show / Hide Table of Contents

    Class ColorDropDown

    Represents a drop-down control that allows to choose a color.

    Inheritance
    System.Object
    ColorDropDown
    Namespace: FastReport.Controls
    Assembly: FastReport.dll
    Syntax
    public class ColorDropDown : ToolStripDropDown
    Remarks

    This control may be useful if you write own components for FastReport.

    Constructors

    ColorDropDown()

    Initializes a new instance of the ColorDropDown class with default settings.

    Declaration
    public ColorDropDown()

    Properties

    Color

    Gets or sets the selected color.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Owner

    Gets or sets the control that owns this dropdown.

    Declaration
    public Control Owner { get; set; }
    Property Value
    Type Description
    Control
    Remarks

    Set the Owner to onscreen control that initiates dropdown. This control will be used to calculate dpi-dependent sizes.

    Methods

    OnOpening(CancelEventArgs)

    Declaration
    protected override void OnOpening(CancelEventArgs e)
    Parameters
    Type Name Description
    System.ComponentModel.CancelEventArgs e

    SetStyle(UIStyle)

    Sets the UI style.

    Declaration
    public void SetStyle(UIStyle style)
    Parameters
    Type Name Description
    UIStyle style

    The style to set.

    Events

    ColorSelected

    This event is raised when you select a color.

    Declaration
    public event EventHandler ColorSelected
    Event Type
    Type Description
    System.EventHandler
    Back to top © 1998-2026 Copyright Fast Reports Inc.