WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotGridTemplateCellModel

    Show / Hide Table of Contents

    Class PivotGridTemplateCellModel

    This class defines the renderer part of a PivotGrid template cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<PivotGridTemplateCellRenderer>
    PivotGridTemplateCellModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<PivotGridTemplateCellRenderer>.CreateRenderer()
    GridCellModelBase.OnCreated()
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)
    GridCellModelBase.ApplyFormattedText(GridStyleInfo, String, Int32)
    GridCellModelBase.GetText(GridStyleInfo, Object)
    GridCellModelBase.ApplyText(GridStyleInfo, String)
    GridCellModelBase.GetPropertyDescriptor(GridStyleInfo)
    GridCellModelBase.GetTypeConverter(GridStyleInfo)
    GridCellModelBase.RaiseCurrentCellContentChanged()
    GridCellModelBase.Clone()
    GridCellModelBase.AddBorderMargins(Size, Thickness)
    GridCellModelBase.RemoveBorderMargins(Size, Thickness)
    GridCellModelBase.OnQueryPrefferedClientSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    GridCellModelBase.GetCellSize(Int32, Int32)
    GridCellModelBase.GetCellClientSize(Int32, Int32, GridStyleInfo)
    GridCellModelBase.GridModel
    GridCellModelBase.ActiveRenderer
    GridCellModelBase.MeasureEmptyCellString
    NonFinalizeDisposable.Dispose()
    NonFinalizeDisposable.Dispose(Boolean)
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.PivotGrid
    Assembly: Syncfusion.PivotAnalysis.WPF.dll
    Syntax
    public class PivotGridTemplateCellModel : GridCellModel<PivotGridTemplateCellRenderer>, IDisposable

    Constructors

    PivotGridTemplateCellModel()

    Declaration
    public PivotGridTemplateCellModel()

    Methods

    CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    Calculate the size of the cell.

    Declaration
    public override Size CalculatePreferredCellSize(int rowIndex, int colIndex, GridStyleInfo style, GridQueryBounds queryBounds)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Row index of the cell.

    System.Int32 colIndex

    Column index of the cell.

    GridStyleInfo style

    To apply styles like background, foreground, font-size and font-weight etc... to the cell.

    GridQueryBounds queryBounds

    Vertical or Horizontal bounds.

    Returns
    Type Description
    System.Windows.Size

    Optimal size of the cell.

    Overrides
    GridCellModelBase.CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved