menu

WPF

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

    Show / Hide Table of Contents

    Class GridCellUpDownCellModel

    Implements the model part of an up down cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridCellUpDownCellRenderer>
    GridCellUpDownCellModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<GridCellUpDownCellRenderer>.CreateRenderer()
    GridCellModelBase.ActiveRenderer
    GridCellModelBase.AddBorderMargins(Size, Thickness)
    GridCellModelBase.ApplyText(GridStyleInfo, String)
    GridCellModelBase.CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    GridCellModelBase.Clone()
    GridCellModelBase.GetCellClientSize(Int32, Int32, GridStyleInfo)
    GridCellModelBase.GetCellSize(Int32, Int32)
    GridCellModelBase.GetPropertyDescriptor(GridStyleInfo)
    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 GridCellUpDownCellModel : GridCellModel<GridCellUpDownCellRenderer>, IDisposable

    Constructors

    GridCellUpDownCellModel()

    Declaration
    public GridCellUpDownCellModel()

    Methods

    ApplyFormattedText(GridStyleInfo, String, Int32)

    Returns the display text as value object according to the specified number format.

    Declaration
    public override bool ApplyFormattedText(GridStyleInfo style, string text, int textInfo)
    Parameters
    Type Name Description
    GridStyleInfo style

    Style information for the cell.

    System.String text

    The display text.

    System.Int32 textInfo
    Returns
    Type Description
    System.Boolean

    The formatted value of the cell.

    Overrides
    GridCellModelBase.ApplyFormattedText(GridStyleInfo, String, Int32)

    GetFormattedText(GridStyleInfo, Object, Int32)

    Return formatted text for the specified value.

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

    The GridStyleInfo object that holds cell information.

    System.Object value

    The value to format.

    System.Int32 textInfo

    TextInfo is a hint of who is calling, default is GridCellBaseTextInfo.DisplayText.

    Returns
    Type Description
    System.String

    The formatted text for the given value.

    Overrides
    GridCellModelBase.GetFormattedText(GridStyleInfo, Object, Int32)

    GetFormattedText(String, NumberFormatInfo)

    Declaration
    protected virtual string GetFormattedText(string text, NumberFormatInfo numberFormatInfo)
    Parameters
    Type Name Description
    System.String text
    System.Globalization.NumberFormatInfo numberFormatInfo
    Returns
    Type
    System.String

    GetNumber(String, NumberFormatInfo)

    Declaration
    protected string GetNumber(string text, NumberFormatInfo numberFormat)
    Parameters
    Type Name Description
    System.String text
    System.Globalization.NumberFormatInfo numberFormat
    Returns
    Type
    System.String

    GetText(GridStyleInfo, Object)

    This is called from GridStyleInfo.GetText (ignoring any Format settings).

    Declaration
    public override string GetText(GridStyleInfo style, object value)
    Parameters
    Type Name Description
    GridStyleInfo style

    The GridStyleInfo object that holds cell information.

    System.Object value

    The value to convert to a string.

    Returns
    Type Description
    System.String

    The string that represents the given value.

    Overrides
    GridCellModelBase.GetText(GridStyleInfo, Object)

    Implements

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