Interface IGraphicCellRenderer
An interface for a graphic cell renderer.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Spreadsheet.GraphicCells
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public interface IGraphicCellRenderer : IDisposable
Properties
CurrentGraphicObject
Gets or sets the current GraphicObject
Declaration
GraphicObject CurrentGraphicObject { get; set; }
Property Value
Type |
---|
GraphicObject |
CurrentRendererElement
Gets or sets the rendered element of current GraphicCellControl.
Declaration
Control CurrentRendererElement { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Control |
GraphicModel
Gets or sets the SfCellGrid.
Declaration
GraphicModel GraphicModel { get; set; }
Property Value
Type |
---|
GraphicModel |
IsEditable
Determines whether the IGraphicCellRenderer is editable or not
Declaration
bool IsEditable { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
GetControlValue()
Used to get the current value from control
Declaration
object GetControlValue()
Returns
Type | Description |
---|---|
System.Object | value |
HandlePointerOperations(GraphicCellControl, GridPointerEventArgs)
This method is used to handle the mouse pointer operations.
Declaration
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. |
InitializeElement(GraphicCellControl, GraphicObject)
Initialize the element of GraphicCellControl.
Declaration
void InitializeElement(GraphicCellControl cellcontainer, GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | cellcontainer | |
GraphicObject | graphicObject |
PrepareUIElements(GraphicCellControl, GraphicObject)
Creates a GraphicCellControl and its content
Declaration
GraphicCellControl PrepareUIElements(GraphicCellControl cellContainer, GraphicObject graphicObject)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | cellContainer | |
GraphicObject | graphicObject |
Returns
Type |
---|
GraphicCellControl |
RaiseSaveChanges()
Raised when want to save the changes
Declaration
void RaiseSaveChanges()
ShouldTryToHandleKeyDown(GraphicCellControl, PreviewKeyDownEventArgs)
Used for RendererElement to handle the keydown.
Declaration
bool ShouldTryToHandleKeyDown(GraphicCellControl control, PreviewKeyDownEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | control | |
System.Windows.Forms.PreviewKeyDownEventArgs | e |
Returns
Type | Description |
---|---|
System.Boolean | Returns true, if renderer element handles the key down |
UnloadUIElements(GraphicCellControl)
Unload the content of GraphicCellControl.
Declaration
void UnloadUIElements(GraphicCellControl uiElement)
Parameters
Type | Name | Description |
---|---|---|
GraphicCellControl | uiElement |