menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OlapGridTemplateCellModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OlapGridTemplateCellModel

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

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

    Constructors

    OlapGridTemplateCellModel()

    Declaration
    public OlapGridTemplateCellModel()

    Methods

    CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    Calculates the preferred size of the cell based on its contents, including margins and any buttons.

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

    The row index.

    System.Int32 colIndex

    The column index.

    GridStyleInfo style

    The GridStyleInfo object that holds cell information.

    GridQueryBounds queryBounds

    Vertical or horizontal

    Returns
    Type Description
    System.Windows.Size

    The optimal size of the cell.

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

    GetFormattedText(GridStyleInfo, Object, Int32)

    Gets the formatted text.

    Declaration
    public override string GetFormattedText(GridStyleInfo style, object value, int textInfo)
    Parameters
    Type Name Description
    GridStyleInfo style

    The style.

    System.Object value

    The value.

    System.Int32 textInfo

    The text info.

    Returns
    Type
    System.String
    Overrides
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)

    Implements

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