[]
        
(Showing Draft Content)

C1.Win.Input.Validation.PlaceholderCollection

PlaceholderCollection Class

A collection of CustomPlaceholder objects.

Namespace: C1.Win.Input.Validation
Assembly: C1.Win.Input.8.dll
Syntax
[ListBindable(false)]
public class PlaceholderCollection : ObservableCollection<CustomPlaceholder>, IList<CustomPlaceholder>, ICollection<CustomPlaceholder>, IList, ICollection, IReadOnlyList<CustomPlaceholder>, IReadOnlyCollection<CustomPlaceholder>, IEnumerable<CustomPlaceholder>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Constructors

Name Description
PlaceholderCollection(string)

Initializes a new instance of the PlaceholderCollection class.

Methods

Name Description
AddRange(CustomPlaceholder[])

Adds the special characters of an ICollection to the end of the PlaceholderCollection.

CheckItemBeforeAdding(CustomPlaceholder)

Checks validity of the placeholder

Contains(char)

Determines whether a character is in the placeholder collection.

GetItem(char)

Returns the CustomPlaceholder object corresponding to the character argument, or null if it does not belong to the collection.

IndexOf(char)

Returns the index of a character in the placeholder collection, or –1 if it does not belong to the collection.

InsertItem(int, CustomPlaceholder)

Inserts an item into the collection at the specified index.

Remove(char)

Removes a specific character from the collection.