WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellTextBoxModel - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCellTextBoxModel

    Implements the model part of a text box cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridCellTextBoxRenderer>
    GridCellTextBoxModel
    GridCellFormulaModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<GridCellTextBoxRenderer>.CreateRenderer()
    GridCellModelBase.OnCreated()
    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.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCellTextBoxModel : GridCellModel<GridCellTextBoxRenderer>, IDisposable

    Constructors

    GridCellTextBoxModel()

    Declaration
    public GridCellTextBoxModel()

    Methods

    CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)

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

    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 of the cell.

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

    GetFormattedText(GridStyleInfo, Object, Int32)

    Declaration
    public override string GetFormattedText(GridStyleInfo style, object value, int textInfo)
    Parameters
    Type Name Description
    GridStyleInfo style
    System.Object value
    System.Int32 textInfo
    Returns
    Type Description
    System.String
    Overrides
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)

    Implements

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