Class GraphicImageCellRenderer
Custom GraphicCellRenderer for System.Windows.Controls.Image celltype.
Inheritance
System.Object
GraphicCellRendererBase<System.Windows.Controls.Image>
GraphicImageCellRenderer
Inherited Members
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.WPF.dll
Syntax
public class GraphicImageCellRenderer : GraphicCellRendererBase<Image>, 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.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.Image>.HandlePointerOperations(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellControl, Syncfusion.UI.Xaml.CellGrid.GridPointerEventArgs)
OnCreateElement(GraphicObject)
Creates a new System.Windows.Controls.Image.
Declaration
protected override Image OnCreateElement(GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicObject | graphicObject |
Returns
Type | Description |
---|---|
System.Windows.Controls.Image | System.Windows.Controls.Image |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.Image>.OnCreateElement(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicObject)
OnInitializeElement(GraphicCellControl, Image, GraphicObject)
Initialize or update the properties of GraphicCellControl and its content.
Declaration
protected override void OnInitializeElement(GraphicCellControl container, Image element, GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | container | |
System.Windows.Controls.Image | element | System.Windows.Controls.Image |
GraphicObject | graphicObject |
Overrides
Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellRendererBase<System.Windows.Controls.Image>.OnInitializeElement(Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicCellControl, System.Windows.Controls.Image, Syncfusion.UI.Xaml.Spreadsheet.GraphicCells.GraphicObject)
Implements
System.IDisposable