Class GraphicImageCellRenderer
Custom GraphicCellRenderer for System.Drawing.Image celltype.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Forms.PictureBox>
GraphicImageCellRenderer
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.Spreadsheet.GraphicCells
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class GraphicImageCellRenderer : GraphicCellRendererBase<PictureBox>, IGraphicCellRenderer, IDisposable
Constructors
GraphicImageCellRenderer()
Declaration
public GraphicImageCellRenderer()
Methods
HandlePointerOperations(GraphicCellControl, GridPointerEventArgs)
This method is used to handle the mouse pointer operations.
Declaration
public override bool HandlePointerOperations(GraphicCellControl control, GridPointerEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | control | An instance ofGraphicCellControlthat loads the content. |
GridPointerEventArgs | args | An instance ofGridPointerEventArgs that indicates mouse point operations |
Returns
Type | Description |
---|---|
System.Boolean | Return true,if the GraphicCell contains hyperlink;else false. |
Overrides
Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Forms.PictureBox>.HandlePointerOperations(Syncfusion.Windows.Forms.Spreadsheet.GraphicCells.GraphicCellControl, Syncfusion.Windows.Forms.CellGrid.GridPointerEventArgs)
OnCreateElement(GraphicObject)
Creates a new System.Drawing.Image.
Declaration
protected override PictureBox OnCreateElement(GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicObject | graphicObject |
Returns
Type | Description |
---|---|
System.Windows.Forms.PictureBox | System.Drawing.Image |
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.Drawing.Image |
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