Interface IGraphicCellRenderer
An interface for a graphic cell renderer.
Namespace: Syncfusion.UI.Xaml.Spreadsheet.GraphicCells
Assembly: Syncfusion.SfSpreadsheet.UWP.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
UIElement CurrentRendererElement { get; set; }
  Property Value
| Type | 
|---|
| Windows.UI.Xaml.UIElement | 
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
Arrange(UIElement, Rect)
Arrange the element of GraphicCell
Declaration
void Arrange(UIElement uiElement, Rect cellRect)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.UIElement | uiElement | |
| Windows.Foundation.Rect | cellRect | 
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
Task<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.Threading.Tasks.Task<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 | 
Measure(UIElement, Size)
Measure the element of GraphicCell
Declaration
void Measure(UIElement uiElement, Size availableSize)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Windows.UI.Xaml.UIElement | uiElement | |
| Windows.Foundation.Size | availableSize | 
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, KeyRoutedEventArgs)
Used for RendererElement to handle the keydown.
Declaration
bool ShouldTryToHandleKeyDown(GraphicCellControl control, KeyRoutedEventArgs e)
  Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicCellControl | control | |
| Windows.UI.Xaml.Input.KeyRoutedEventArgs | 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 |