Class GraphicChartCellRenderer
Custom GraphicCellRenderer for System.Windows.Forms.PictureBox celltype.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Forms.PictureBox>
GraphicChartCellRenderer
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.SpreadsheetHelper
Assembly: Syncfusion.SpreadsheetHelper.Windows.dll
Syntax
public class GraphicChartCellRenderer : GraphicCellRendererBase<PictureBox>, IGraphicCellRenderer, IDisposable
Constructors
GraphicChartCellRenderer()
Creates an instance of GraphicChartCellRenderer
Declaration
public GraphicChartCellRenderer()
Fields
ChartConverter
Converter used to convert the XlsIO chart into the SfChart or Image.
Declaration
protected ChartToImageConverter ChartConverter
Field Value
| Type |
|---|
| ChartToImageConverter |
Methods
OnCreateElement(GraphicObject)
Creates a new System.Windows.Forms.PictureBox.
Declaration
protected override PictureBox OnCreateElement(GraphicObject graphicObject)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicObject | graphicObject |
Returns
| Type | Description |
|---|---|
| System.Windows.Forms.PictureBox | System.Windows.Forms.PictureBox |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.PictureBox>.OnCreateElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
OnInitializeElement(GraphicCellControl, PictureBox, GraphicObject)
Initialize or update the properties of GraphicCellControl and its content.
Declaration
protected override void OnInitializeElement(GraphicCellControl container, PictureBox element, GraphicObject graphicObject)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicCellControl | container | |
| System.Windows.Forms.PictureBox | element | System.Windows.Forms.PictureBox |
| GraphicObject | graphicObject |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.PictureBox>.OnInitializeElement(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Forms.PictureBox, Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicObject)
Implements
System.IDisposable