WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorUIAdvRenderer

    Show / Hide Table of Contents

    Class ColorUIAdvRenderer

    Represents a class for rendering colors of ColorPickerUIAdv.

    Inheritance
    System.Object
    ColorUIAdvRenderer
    ColorUIAdvOffice2007Renderer
    ColorUIAdvOffice2010Renderer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class ColorUIAdvRenderer

    Constructors

    ColorUIAdvRenderer(ColorPickerUIAdv)

    Initialize a new instance of the ColorUIAdvRenderer class.

    Declaration
    public ColorUIAdvRenderer(ColorPickerUIAdv control)
    Parameters
    Type Name Description
    ColorPickerUIAdv control

    An instance of the control.

    Fields

    m_textPoint

    Declaration
    protected Point m_textPoint
    Field Value
    Type Description
    System.Drawing.Point

    Properties

    BackColor

    Declaration
    protected virtual Color BackColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    Bounds

    Declaration
    protected Rectangle Bounds { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    ColorPicker

    Gets the color value.

    Declaration
    public ColorPickerUIAdv ColorPicker { get; }
    Property Value
    Type Description
    ColorPickerUIAdv

    ForeColor

    Declaration
    protected virtual Color ForeColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    GroupHeaderBackColor

    Declaration
    protected virtual Color GroupHeaderBackColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    HighlightedBorderColor

    Declaration
    protected virtual Color HighlightedBorderColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    ItemBorderColor

    Declaration
    protected virtual Color ItemBorderColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    SelectedBorderColor

    Declaration
    protected virtual Color SelectedBorderColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    SelectedHighlightedBorderColor

    Declaration
    protected virtual Color SelectedHighlightedBorderColor { get; }
    Property Value
    Type Description
    System.Drawing.Color

    Methods

    CalcTextRectangle(Graphics, ColorUIAdvGroup, ContentAlignment, Rectangle)

    Declaration
    protected virtual Rectangle CalcTextRectangle(Graphics g, ColorUIAdvGroup group, ContentAlignment align, Rectangle labelBounds)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    ColorUIAdvGroup group
    System.Drawing.ContentAlignment align
    System.Drawing.Rectangle labelBounds
    Returns
    Type Description
    System.Drawing.Rectangle

    ComputeTextPosition(ColorUIAdvGroup, Rectangle)

    Computes to calculate the text position.

    Declaration
    public virtual void ComputeTextPosition(ColorUIAdvGroup group, Rectangle labelBounds)
    Parameters
    Type Name Description
    ColorUIAdvGroup group

    An instance of the ColorUIAdvGroup.

    System.Drawing.Rectangle labelBounds

    Bounds for text.

    DrawGroupHeader(Graphics, ColorUIAdvGroup)

    Declaration
    protected virtual void DrawGroupHeader(Graphics g, ColorUIAdvGroup group)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    ColorUIAdvGroup group

    DrawGroupInterior(Graphics, ColorUIAdvGroup)

    Declaration
    protected virtual void DrawGroupInterior(Graphics g, ColorUIAdvGroup group)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    ColorUIAdvGroup group

    DrawInheritItems(Graphics, ColorUIAdvGroup, GroupColorItem, Rectangle)

    Declaration
    protected virtual void DrawInheritItems(Graphics g, ColorUIAdvGroup group, GroupColorItem colorItem, Rectangle inheritArea)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    ColorUIAdvGroup group
    GroupColorItem colorItem
    System.Drawing.Rectangle inheritArea

    DrawInterior(Graphics)

    Declaration
    protected virtual void DrawInterior(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    DrawText(Graphics, ColorUIAdvGroup, Rectangle)

    To draw the text.

    Declaration
    public virtual void DrawText(Graphics g, ColorUIAdvGroup group, Rectangle labelBounds)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    An instance of graphics.

    ColorUIAdvGroup group

    An instance of color group.

    System.Drawing.Rectangle labelBounds

    The bounds of the text rectangle.

    OnPaint(PaintEventArgs)

    Represents the method to draw the interior.

    Declaration
    public virtual void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    An argument value.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved