Class ColorUIAdvMetroRenderer
Represents a Metro renderer of the ColorUIAdv.
Inheritance
System.Object
ColorUIAdvMetroRenderer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ColorUIAdvMetroRenderer
Constructors
ColorUIAdvMetroRenderer(ColorPickerUIAdv)
Initialize a new instance of the ColorUIAdvMetroRenderer class.
Declaration
public ColorUIAdvMetroRenderer(ColorPickerUIAdv control)
Parameters
Type | Name | Description |
---|---|---|
ColorPickerUIAdv | control |
Fields
m_textPoint
Declaration
protected Point m_textPoint
Field Value
Type |
---|
System.Drawing.Point |
Properties
BackColor
Declaration
protected virtual Color BackColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
Bounds
Declaration
protected Rectangle Bounds { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
ColorPicker
Gets the value of color picker.
Declaration
public ColorPickerUIAdv ColorPicker { get; }
Property Value
Type |
---|
ColorPickerUIAdv |
ForeColor
Declaration
protected virtual Color ForeColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
GroupHeaderBackColor
Declaration
protected virtual Color GroupHeaderBackColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
HighlightedBorderColor
Declaration
protected virtual Color HighlightedBorderColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
ItemBorderColor
Declaration
protected virtual Color ItemBorderColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
SelectedBorderColor
Declaration
protected virtual Color SelectedBorderColor { get; }
Property Value
Type |
---|
System.Drawing.Color |
SelectedHighlightedBorderColor
Declaration
protected virtual Color SelectedHighlightedBorderColor { get; }
Property Value
Type |
---|
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 |
---|
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. |