menu

WPF

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

    Show / Hide Table of Contents

    Class GridMaskEditInfo

    Provides a StyleInfoSubObjectBase object for masked edit properties in a cell.

    Each property in this sub object can be configured individually. Properties that have not been initialized will inherit default values from a base style.

    Inheritance
    System.Object
    StyleInfoBase
    StyleInfoSubObjectBase
    GridMaskEditInfo
    Implements
    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Inherited Members
    StyleInfoBase.BeginInit()
    StyleInfoBase.BeginUpdate()
    StyleInfoBase.CacheValues
    StyleInfoBase.Changed
    StyleInfoBase.Changing
    StyleInfoBase.ClearCache()
    StyleInfoBase.CopyFrom(IStyleInfo)
    StyleInfoBase.CreateSubObjectIdentity(StyleInfoProperty)
    StyleInfoBase.EndInit()
    StyleInfoBase.EndUpdate()
    StyleInfoBase.Equals(Object)
    StyleInfoBase.EqualsObject(Object, Object)
    StyleInfoBase.GetDefaultStyleInfoStore(StyleInfoProperty)
    StyleInfoBase.GetDefaultValue(StyleInfoProperty)
    StyleInfoBase.GetHashCode()
    StyleInfoBase.GetShortValue(StyleInfoProperty)
    StyleInfoBase.GetValue(StyleInfoProperty)
    StyleInfoBase.HasValue(StyleInfoProperty)
    StyleInfoBase.IConvertible.GetTypeCode()
    StyleInfoBase.IConvertible.ToBoolean(IFormatProvider)
    StyleInfoBase.IConvertible.ToByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToChar(IFormatProvider)
    StyleInfoBase.IConvertible.ToDateTime(IFormatProvider)
    StyleInfoBase.IConvertible.ToDecimal(IFormatProvider)
    StyleInfoBase.IConvertible.ToDouble(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToInt64(IFormatProvider)
    StyleInfoBase.IConvertible.ToSByte(IFormatProvider)
    StyleInfoBase.IConvertible.ToSingle(IFormatProvider)
    StyleInfoBase.IConvertible.ToString(IFormatProvider)
    StyleInfoBase.IConvertible.ToType(Type, IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt16(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt32(IFormatProvider)
    StyleInfoBase.IConvertible.ToUInt64(IFormatProvider)
    StyleInfoBase.Identity
    StyleInfoBase.IsChanged
    StyleInfoBase.IsEmpty
    StyleInfoBase.IsSubset(IStyleInfo)
    StyleInfoBase.IsValueModified(StyleInfoProperty)
    StyleInfoBase.MergeStyle(IStyleInfo)
    StyleInfoBase.ModifyStyle(IStyleInfo, StyleModifyType)
    StyleInfoBase.OnStyleChanging(StyleInfoProperty)
    StyleInfoBase.ParseString(String)
    StyleInfoBase.ReadXml(XmlReader)
    StyleInfoBase.ResetValue(StyleInfoProperty)
    StyleInfoBase.SetStore(StyleInfoStore)
    StyleInfoBase.SetValue(StyleInfoProperty, Int16)
    StyleInfoBase.SetValue(StyleInfoProperty, Object)
    StyleInfoBase.Store
    StyleInfoBase.ToString()
    StyleInfoBase.ToString(String)
    StyleInfoBase.ToString(String, IFormatProvider)
    StyleInfoBase.Updating
    StyleInfoBase.WeakReferenceChangedListeners
    StyleInfoBase.WriteXml(XmlWriter)
    StyleInfoSubObjectBase.Data
    StyleInfoSubObjectBase.Dispose()
    StyleInfoSubObjectBase.IntGetDefaultStyleInfo(StyleInfoProperty)
    StyleInfoSubObjectBase.OnStyleChanged(StyleInfoProperty)
    StyleInfoSubObjectBase.Owner
    StyleInfoSubObjectBase.Sip
    StyleInfoSubObjectBase.SubObjectIdentity
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridMaskEditInfo : StyleInfoSubObjectBase, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject

    Constructors

    GridMaskEditInfo()

    Initializes a new empty GridMaskEditInfo object.

    Declaration
    public GridMaskEditInfo()

    GridMaskEditInfo(StyleInfoSubObjectIdentity)

    Initalizes a new GridMaskEditInfo object and associates it with an existing .

    Declaration
    public GridMaskEditInfo(StyleInfoSubObjectIdentity identity)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the indentity for this GridMaskEditInfo.

    GridMaskEditInfo(StyleInfoSubObjectIdentity, GridMaskEditInfoStore)

    Initalizes a new GridMaskEditInfo object and associates it with an existing .

    Declaration
    public GridMaskEditInfo(StyleInfoSubObjectIdentity identity, GridMaskEditInfoStore store)
    Parameters
    Type Name Description
    StyleInfoSubObjectIdentity identity

    A that holds the indentity for this GridMaskEditInfo.

    GridMaskEditInfoStore store

    A GridMaskEditInfoStore that holds data for this GridMaskEditInfo. All changes in this style object will be saved in the GridMaskEditInfoStore object.

    Properties

    CurrencySymbol

    Use this property to define the CurrencySymbol string for the MaskedTextBox control.

    Declaration
    public string CurrencySymbol { get; set; }
    Property Value
    Type
    System.String

    DateSeparator

    Use this property to define the date separator for the MaskedEditBox control.

    Declaration
    public string DateSeparator { get; set; }
    Property Value
    Type
    System.String

    DecimalSeparator

    Use this property to define the decimal separator for the MaskedEditBox control.

    Declaration
    public string DecimalSeparator { get; set; }
    Property Value
    Type
    System.String

    Default

    Returns a default GridMaskEditInfo to be used with a default style.

    Declaration
    public static GridMaskEditInfo Default { get; }
    Property Value
    Type Description
    GridMaskEditInfo

    The default.

    Remarks

    The Default of the GridStyleInfo class will return the validation info that this method generates through its overriden version of GetDefaultStyle().

    Default settings are:

    PropertyValue
    DateSeparator'/'
    DecimalSeparator'.'
    MaskString.Empty
    TimeSeparator':'

    HasCurrencySymbol

    Checks if the CurrencySymbol property is initialized.

    Declaration
    public bool HasCurrencySymbol { get; }
    Property Value
    Type
    System.Boolean

    HasDateSeparator

    Checks if the DateSeparator property is initialized.

    Declaration
    public bool HasDateSeparator { get; }
    Property Value
    Type
    System.Boolean

    HasDecimalSeparator

    Checks if the DecimalSeparator property is initialized.

    Declaration
    public bool HasDecimalSeparator { get; }
    Property Value
    Type
    System.Boolean

    HasMask

    Checks if the Mask property is initialized.

    Declaration
    public bool HasMask { get; }
    Property Value
    Type
    System.Boolean

    HasMaxLength

    Checks if the MaxLength property is initialized.

    Declaration
    public bool HasMaxLength { get; }
    Property Value
    Type
    System.Boolean

    HasMinLength

    Checks if the MinLength property is initialized.

    Declaration
    public bool HasMinLength { get; }
    Property Value
    Type
    System.Boolean

    HasNumberGroupSeparator

    Checks if the NumberGroupSeparator property is initialized.

    Declaration
    public bool HasNumberGroupSeparator { get; }
    Property Value
    Type
    System.Boolean

    HasPromptChar

    Checks if the PromptChar property is initialized.

    Declaration
    public bool HasPromptChar { get; }
    Property Value
    Type
    System.Boolean

    HasStringValidation

    Gets a value indicating whether this instance has string validation.

    Declaration
    public bool HasStringValidation { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance has string validation; otherwise, false.

    HasTimeSeparator

    Checks if the TimeSeparator property is initialized.

    Declaration
    public bool HasTimeSeparator { get; }
    Property Value
    Type
    System.Boolean

    Mask

    Use this property to define the mask string for the MaskedEditBox control.

    Declaration
    public string Mask { get; set; }
    Property Value
    Type
    System.String

    MaxLength

    Use this property to define the Maximum Length for the MaskedEditBox control.

    Declaration
    public int MaxLength { get; set; }
    Property Value
    Type
    System.Int32

    MinLength

    Use this property to define the Minimum Length for the MaskedEditBox control.

    Declaration
    public int MinLength { get; set; }
    Property Value
    Type
    System.Int32

    NumberGroupSeparator

    Use this property to define the number group separator for the MaskedEditBox control.

    Declaration
    public string NumberGroupSeparator { get; set; }
    Property Value
    Type
    System.String

    PromptChar

    Use this property to define the PromptChar string for the MaskedTextBox control.

    Declaration
    public char PromptChar { get; set; }
    Property Value
    Type
    System.Char

    StringValidation

    Gets or sets the String validation.

    Declaration
    public StringValidation StringValidation { get; set; }
    Property Value
    Type Description
    StringValidation

    The min validation.

    TimeSeparator

    Use this property to define the time separator for the MaskedEditBox control.

    Declaration
    public string TimeSeparator { get; set; }
    Property Value
    Type
    System.String

    Methods

    GetDefaultStyle()

    Returns Default.

    Declaration
    protected override StyleInfoBase GetDefaultStyle()
    Returns
    Type Description
    StyleInfoBase

    A GridMaskEditInfo object with default values.

    Overrides
    StyleInfoBase.GetDefaultStyle()

    MakeCopy(StyleInfoBase, StyleInfoProperty)

    Makes an exact copy of the current object.

    Declaration
    public override IStyleInfoSubObject MakeCopy(StyleInfoBase newOwner, StyleInfoProperty sip)
    Parameters
    Type Name Description
    StyleInfoBase newOwner

    The new owner style object for the copied object.

    StyleInfoProperty sip

    The identifier for this object.

    Returns
    Type Description
    IStyleInfoSubObject

    The copy of the current object.

    Overrides
    StyleInfoSubObjectBase.MakeCopy(StyleInfoBase, StyleInfoProperty)

    ResetCurrencySymbol()

    Resets the CurrencySymbol property.

    Declaration
    public void ResetCurrencySymbol()

    ResetDateSeparator()

    Resets the DateSeparator property.

    Declaration
    public void ResetDateSeparator()

    ResetDecimalSeparator()

    Resets the DecimalSeparator property.

    Declaration
    public void ResetDecimalSeparator()

    ResetMask()

    Resets the Mask property.

    Declaration
    public void ResetMask()

    ResetMaxLength()

    Resets the MaxLength property.

    Declaration
    public void ResetMaxLength()

    ResetMinLength()

    Resets the MinLength property.

    Declaration
    public void ResetMinLength()

    ResetNumberGroupSeparator()

    Resets the NumberGroupSeparator property.

    Declaration
    public void ResetNumberGroupSeparator()

    ResetPromptChar()

    Resets the PromptChar property.

    Declaration
    public void ResetPromptChar()

    ResetStringValidation()

    Resets the string validation.

    Declaration
    public void ResetStringValidation()

    ResetTimeSeparator()

    Resets the TimeSeparator property.

    Declaration
    public void ResetTimeSeparator()

    ShouldSerializeStringValidation()

    Shoulds the serialize string validation.

    Declaration
    public bool ShouldSerializeStringValidation()
    Returns
    Type
    System.Boolean

    Implements

    System.IDisposable
    IStyleInfo
    System.ComponentModel.ISupportInitialize
    System.IFormattable
    System.IConvertible
    System.Xml.Serialization.IXmlSerializable
    IStyleInfoSubObject
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved