Class ChartColorPaletteEditor
Custom System.Drawing.Design.UITypeEditor for ChartColorPalette enum.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartColorPaletteEditor : ChartDropDownUIEditor
Constructors
ChartColorPaletteEditor()
Initializes the new instance of the ChartColorPaletteEditor class.
Declaration
public ChartColorPaletteEditor()
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. |