Class PivotGridTemplateCellRenderer
Implements the renderer part of the PivotGrid template cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotGridTemplateCellRenderer : GridVirtualizingCellRenderer<PivotGridTemplateCell>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
PivotGridTemplateCellRenderer()
Declaration
public PivotGridTemplateCellRenderer()
Methods
CreateRendererElement(PivotGridTemplateCell, GridRenderStyleInfo)
Creates the renderer element using the information from the cell style.
Declaration
public override void CreateRendererElement(PivotGridTemplateCell uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
PivotGridTemplateCell | uiElement | The renderer cell. |
GridRenderStyleInfo | style | To apply styles like background, foreground, font-size and font-weight etc... to the cell. |
Overrides
GetControlValueFromEditor()
Method that returns the cell value.
Declaration
protected override object GetControlValueFromEditor()
Returns
Type | Description |
---|---|
System.Object | The cell value. |
Overrides
OnActivated()
Raises the Activate event.
Declaration
protected override void OnActivated()
Overrides
OnDeactivated()
Raises the Deactivate event.
Declaration
protected override void OnDeactivated()
Overrides
OnEditingComplete()
Raises the EditingComplete event.
Declaration
protected override void OnEditingComplete()
Overrides
OnEnteredEditMode()
Raises the EnteredEditMode event.
Declaration
protected override void OnEnteredEditMode()
Overrides
OnGridPreviewTextInput(TextCompositionEventArgs)
Calls when editing the current cell.
Declaration
protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.TextCompositionEventArgs | e | The System.Windows.Input.TextCompositionEventArgs instance containing the event data. |
Overrides
OnInitialize()
Raises the Initialize event.
Declaration
protected override void OnInitialize()
Overrides
OnInitializeContent(PivotGridTemplateCell, GridRenderStyleInfo)
Initializes the content of the cell using the information from the cell style.
Declaration
public override void OnInitializeContent(PivotGridTemplateCell uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
PivotGridTemplateCell | uiElement | The renderer cell. |
GridRenderStyleInfo | style | To apply styles like background, foreground, font-size and font-weight etc... to the cell. |
Overrides
OnSetFocus()
Raises the SetFocus event.
Declaration
protected override void OnSetFocus()
Overrides
RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
Calls when we click on PivotGrid cell.
Declaration
public override void RaiseGridCellClick(int rowIndex, int colIndex, MouseControllerEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Row index of the current cell. |
System.Int32 | colIndex | Column index of the current cell. |
MouseControllerEventArgs | e | Arguments based on mouse click inside PivotGrid cell. |
Overrides
ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
Indicates whether the CurrentCellUIElement should handle the key and the Grid should ignore it.
Declaration
protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.KeyEventArgs | e | The event argument. |
Returns
Type | Description |
---|---|
System.Boolean | True or False. |