menu

WPF

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

    Show / Hide Table of Contents

    Class GridCellDataBoundTemplateModel

    A cell model for the GridCellDataTemplateRenderer.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridCellDataBoundTemplateRenderer>
    GridCellDataBoundTemplateModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<GridCellDataBoundTemplateRenderer>.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.GetFormattedText(GridStyleInfo, Object, 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.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCellDataBoundTemplateModel : GridCellModel<GridCellDataBoundTemplateRenderer>, IDisposable

    Constructors

    GridCellDataBoundTemplateModel()

    Declaration
    public GridCellDataBoundTemplateModel()

    Methods

    CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

    Calculates the preferred size of the cell based on its content, including the cell template.

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

    Cell row index.

    System.Int32 colIndex

    Cell column index.

    GridStyleInfo style

    Cell style information.

    GridQueryBounds queryBounds

    Graphical bounds.

    Returns
    Type Description
    System.Windows.Size

    The optimal size for the cell.

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

    ProvideDataWrapperInstance(GridDataCellBoundWrapper, GridStyleInfo)

    Declaration
    public void ProvideDataWrapperInstance(GridDataCellBoundWrapper wrapperInstance, GridStyleInfo style)
    Parameters
    Type Name Description
    GridDataCellBoundWrapper wrapperInstance
    GridStyleInfo style

    Implements

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