Class PivotGridSortCellRenderer
Implements the renderer part of PivotGrid sortable header cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotGridSortCellRenderer : GridVirtualizingCellRenderer<PivotSortHeaderCell>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell
Constructors
PivotGridSortCellRenderer()
Declaration
public PivotGridSortCellRenderer()
Properties
SortingIndicator
Gets or sets the sort order indication.
Declaration
public Visibility SortingIndicator { get; set; }
Property Value
Type |
---|
System.Windows.Visibility |
Methods
CreateRendererElement(PivotSortHeaderCell, GridRenderStyleInfo)
Creates the renderer element using the information from the cell style.
Declaration
public override void CreateRendererElement(PivotSortHeaderCell uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
PivotSortHeaderCell | uiElement | The sortable header cell. |
GridRenderStyleInfo | style | This parameter is used to apply styles like background, foreground, font-size and font-weight etc... to the sortable header cells. |
Overrides
OnInitializeContent(PivotSortHeaderCell, GridRenderStyleInfo)
Initializes the content of the cell using the information from the cell style.
Declaration
public override void OnInitializeContent(PivotSortHeaderCell uiElement, GridRenderStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
PivotSortHeaderCell | uiElement | The sortable header cell. |
GridRenderStyleInfo | style | This parameter is used to apply styles like background, foreground, font-size and font-weight etc... to the sortable header cells. |
Overrides
OnRender(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
Calls when the cells are rendering.
Declaration
protected override void OnRender(DrawingContext dc, RenderCellArgs rca, GridRenderStyleInfo cellInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.DrawingContext | dc | Used to draw formatted text. |
RenderCellArgs | rca | Used to render cell style information. |
GridRenderStyleInfo | cellInfo | This parameter is used to apply styles like background, foreground, font-size and font-weight etc... to the sortable header cells. |