WPF

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

    Show / Hide Table of Contents

    Class GridCellMaskEditCellModel

    Implements the model part of a mask edit cell.

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

    Constructors

    GridCellMaskEditCellModel()

    Initializes a new GridCellMaskEditCellModel.

    Declaration
    public GridCellMaskEditCellModel()

    Methods

    ApplyFormattedValue(GridStyleInfo, String)

    Returns the display text as value 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 display text.

    Returns
    Type Description
    System.Object

    The formatted value of the cell.

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

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

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

    Implements

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