Class ColorsUIEditor
Custom System.Drawing.Design.UITypeEditor for arrays of System.Drawing.Color struct.
Inheritance
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ColorsUIEditor : ArrayEditor
Constructors
ColorsUIEditor(Type)
Initializes a new instance of the ColorsUIEditor class.
Declaration
public ColorsUIEditor(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The data type of the items in the array. |
Methods
GetPaintValueSupported(ITypeDescriptorContext)
Indicates whether the specified context supports painting a representation of an object's value within the specified context.
Declaration
public override bool GetPaintValueSupported(ITypeDescriptorContext context)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.ITypeDescriptorContext | context | An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information. |
Returns
Type | Description |
---|---|
System.Boolean | true if System.Drawing.Design.UITypeEditor.PaintValue(System.Object,System.Drawing.Graphics,System.Drawing.Rectangle) is implemented; otherwise, false. |
PaintValue(PaintValueEventArgs)
Paints a representation of the value of an object using the specified System.Drawing.Design.PaintValueEventArgs.
Declaration
public override void PaintValue(PaintValueEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Design.PaintValueEventArgs | e | A System.Drawing.Design.PaintValueEventArgs that indicates what to paint and where to paint it. |