menu

WPF

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

    Show / Hide Table of Contents

    Class GridCellDoubleEditCellModel

    Implements the model part of a double edit cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridCellDoubleEditCellRenderer>
    GridCellNumericEditCellModel<GridCellDoubleEditCellRenderer>
    GridCellDoubleEditCellModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellModel<GridCellDoubleEditCellRenderer>.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)
    GridCellNumericEditCellModel<GridCellDoubleEditCellRenderer>.ApplyFormattedText(GridStyleInfo, String, Int32)
    GridCellNumericEditCellModel<GridCellDoubleEditCellRenderer>.GetFormattedText(GridStyleInfo, Object, Int32)
    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 GridCellDoubleEditCellModel : GridCellNumericEditCellModel<GridCellDoubleEditCellRenderer>, IDisposable

    Constructors

    GridCellDoubleEditCellModel()

    Declaration
    public GridCellDoubleEditCellModel()

    Methods

    ApplyFormattedValue(GridStyleInfo, String)

    Parses the display text and converts it into a cell value to be stored in the style object. GridStyleInfo.NumberFormat is used for parsing the string.

    Declaration
    protected override object ApplyFormattedValue(GridStyleInfo style, string text)
    Parameters
    Type Name Description
    GridStyleInfo style

    Style information for the cell.

    System.String text

    The input text to be parsed.

    Returns
    Type Description
    System.Object

    True if value was parsed correctly and saved in style object as CellValue; False otherwise.

    Overrides
    Syncfusion.Windows.Controls.Grid.GridCellNumericEditCellModel<Syncfusion.Windows.Controls.Grid.GridCellDoubleEditCellRenderer>.ApplyFormattedValue(Syncfusion.Windows.Controls.Grid.GridStyleInfo, System.String)

    GetFormattedText(String, NumberFormatInfo)

    Returns formatted text for the double edit cell.

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

    The formatted text for the given value.

    Overrides
    Syncfusion.Windows.Controls.Grid.GridCellNumericEditCellModel<Syncfusion.Windows.Controls.Grid.GridCellDoubleEditCellRenderer>.GetFormattedText(System.String, System.Globalization.NumberFormatInfo)

    GetText(GridStyleInfo, Object)

    This is called from GridStyleInfo.GetText (ignoring any Format settings). GridStyleInfo.NumberFormat is used for parsing the string.

    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
    Syncfusion.Windows.Controls.Grid.GridCellNumericEditCellModel<Syncfusion.Windows.Controls.Grid.GridCellDoubleEditCellRenderer>.GetText(Syncfusion.Windows.Controls.Grid.GridStyleInfo, System.Object)

    Implements

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