WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MaskedEditDataGroupInfoCollection

    Show / Hide Table of Contents

    Class MaskedEditDataGroupInfoCollection

    Collection of MaskedEditDataGroupInfo objects. Used in the DataGroups property of the MaskedEditBox control.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    MaskedEditDataGroupInfoCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnClear()
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    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.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class MaskedEditDataGroupInfoCollection : CollectionBase, IList, ICollection, IEnumerable
    Remarks

    The MaskedEditDataGroupInfoCollection is a set of objects each of which hold information required to create a data group in a MaskedEditBox.

    Constructors

    MaskedEditDataGroupInfoCollection()

    Creates an instance of the MaskedEditDataGroupInfoCollection class.

    Declaration
    public MaskedEditDataGroupInfoCollection()

    MaskedEditDataGroupInfoCollection(MaskedEditBox)

    Overloaded. Creates an instance of the MaskedEditDataGroupInfoCollection class.

    Declaration
    public MaskedEditDataGroupInfoCollection(MaskedEditBox maskedEdit)
    Parameters
    Type Name Description
    MaskedEditBox maskedEdit

    The MaskedEditBox control that contains this collection.

    Properties

    Item[Int32]

    Gets / sets the Indexer property for the MaskedEditDataGroupInfoCollection class.

    Declaration
    public MaskedEditDataGroupInfo this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    MaskedEditDataGroupInfo
    Remarks

    Get the MaskedEditDataGroupInfo object based on the index in the collection.

    Item[String]

    Gets / sets the Indexer property for the MaskedEditDataGroupInfoCollection class.

    Declaration
    public MaskedEditDataGroupInfo this[string dataGroupName] { get; set; }
    Parameters
    Type Name Description
    System.String dataGroupName
    Property Value
    Type Description
    MaskedEditDataGroupInfo
    Remarks

    Get the MaskedEditDataGroupInfo object based on the index in the collection.

    Owner

    Gets / sets the owner of this collection.

    Declaration
    public MaskedEditBox Owner { get; set; }
    Property Value
    Type Description
    MaskedEditBox

    Methods

    Add(MaskedEditDataGroupInfo)

    Adds one object to the collection.

    Declaration
    public int Add(MaskedEditDataGroupInfo dataGroup)
    Parameters
    Type Name Description
    MaskedEditDataGroupInfo dataGroup

    The MaskedEditDataGroupInfo object to be added.

    Returns
    Type Description
    System.Int32

    The count of the list items.

    Contains(MaskedEditDataGroupInfo)

    Indicates whether the collection contains a specific MaskedEditDataGroupInfo entry.

    Declaration
    public bool Contains(MaskedEditDataGroupInfo dataGroup)
    Parameters
    Type Name Description
    MaskedEditDataGroupInfo dataGroup

    The MaskedEditDataGroupInfo to locate in the DataGroups.

    Returns
    Type Description
    System.Boolean

    True if the MaskedEditDataGroupInfo entry is found in the collection; false otherwise.

    CopyTo(MaskedEditDataGroupInfo[], Int32)

    Copies all the elements of the current one-dimensional array to the specified one-dimensional array starting at the specified destination array index.

    Declaration
    public void CopyTo(MaskedEditDataGroupInfo[] array, int index)
    Parameters
    Type Name Description
    MaskedEditDataGroupInfo[] array

    The array.

    System.Int32 index

    The index.

    GetDataGroupValue(MaskedEditDataGroupInfo)

    Returns the value of the DataGroup.

    Declaration
    public string GetDataGroupValue(MaskedEditDataGroupInfo val)
    Parameters
    Type Name Description
    MaskedEditDataGroupInfo val
    Returns
    Type Description
    System.String

    String value of the DataGroup.

    Insert(Int32, MaskedEditDataGroupInfo)

    Inserts the MaskedEditDataGroupInfo into the collection at the specified index.

    Declaration
    public void Insert(int index, MaskedEditDataGroupInfo item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the item is to be inserted.

    MaskedEditDataGroupInfo item

    The MaskedEditDataGroupInfo to be inserted.

    OnInsert(Int32, Object)

    Overrides OnInsert.

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    OnInsertComplete(Int32, Object)

    Overrides OnInsertComplete.

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    Remove(MaskedEditDataGroupInfo)

    Removes MaskedEditDataGroupInfo objects from the collection.

    Declaration
    public void Remove(MaskedEditDataGroupInfo dataGroup)
    Parameters
    Type Name Description
    MaskedEditDataGroupInfo dataGroup

    The MaskedEditDataGroupInfo object to remove.

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved