menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellIntegerEditCellModel - API Reference

    Show / Hide Table of Contents

    Class GridCellIntegerEditCellModel

    Implements the model part of an integer edit cell.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    GridCellModelBase
    GridCellModel<GridCellIntegerEditCellRenderer>
    GridCellNumericEditCellModel<GridCellIntegerEditCellRenderer>
    GridCellIntegerEditCellModel
    Implements
    System.IDisposable
    Inherited Members
    GridCellNumericEditCellModel<GridCellIntegerEditCellRenderer>.ApplyFormattedText(GridStyleInfo, String, Int32)
    GridCellNumericEditCellModel<GridCellIntegerEditCellRenderer>.GetText(GridStyleInfo, Object)
    GridCellModel<GridCellIntegerEditCellRenderer>.CreateRenderer()
    GridCellModelBase.OnCreated()
    GridCellModelBase.ApplyText(GridStyleInfo, String)
    GridCellModelBase.GetPropertyDescriptor(GridStyleInfo)
    GridCellModelBase.GetTypeConverter(GridStyleInfo)
    GridCellModelBase.RaiseCurrentCellContentChanged()
    GridCellModelBase.Clone()
    GridCellModelBase.CalculatePreferredCellSize(Int32, Int32, GridStyleInfo, GridQueryBounds)
    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 GridCellIntegerEditCellModel : GridCellNumericEditCellModel<GridCellIntegerEditCellRenderer>, IDisposable

    Constructors

    GridCellIntegerEditCellModel()

    Declaration
    public GridCellIntegerEditCellModel()

    Methods

    ApplyFormattedValue(GridStyleInfo, String)

    Parses the display text and converts it into a cell value to be stored in the style object.

    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.GridCellIntegerEditCellRenderer>.ApplyFormattedValue(Syncfusion.Windows.Controls.Grid.GridStyleInfo, System.String)

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

    GetFormattedText(String, NumberFormatInfo)

    Return formatted text for the specified value.

    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.GridCellIntegerEditCellRenderer>.GetFormattedText(System.String, System.Globalization.NumberFormatInfo)

    GetNumber(String, NumberFormatInfo)

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

    Implements

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