ComponentSpace State Picker Control Reference

StateCollection Members

StateCollection overview

Public Instance Constructors

StateCollection Constructor Initializes a new instance of the StateCollection class with the list of US states and territories.

Public Instance Properties

Count (inherited from CollectionBase) Gets the number of elements contained in the CollectionBase instance.
Item Get the state at the specified index in the collection.

Public Instance Methods

Add Add a state to the collection.
Clear (inherited from CollectionBase) Removes all objects from the CollectionBase instance.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetEnumerator (inherited from CollectionBase) Returns an enumerator that can iterate through the CollectionBase instance.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetState Get the state in the list with the specfied name.
GetType (inherited from Object) Gets the Type of the current instance.
RemoveAt (inherited from CollectionBase) Removes the element at the specified index of the CollectionBase instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Properties

InnerList (inherited from CollectionBase) Gets an ArrayList containing the list of elements in the CollectionBase instance.
List (inherited from CollectionBase) Gets an IList containing the list of elements in the CollectionBase instance.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnClear (inherited from CollectionBase) Performs additional custom processes when clearing the contents of the CollectionBase instance.
OnClearComplete Performs additional custom processes after clearing the contents of the collection.
OnInsert (inherited from CollectionBase) Performs additional custom processes before inserting a new element into the CollectionBase instance.
OnInsertComplete Performs additional custom processes after inserting a new state into the collection.
OnRemove (inherited from CollectionBase) Performs additional custom processes when removing an element from the CollectionBase instance.
OnRemoveComplete Performs additional custom processes after removing a state from the collection.
OnSet (inherited from CollectionBase) Performs additional custom processes before setting a value in the CollectionBase instance.
OnSetComplete Performs additional custom processes after setting a state in the collection.
OnValidate (inherited from CollectionBase) Performs additional custom processes when validating a value.

See Also

StateCollection Class | ComponentSpace.StatePicker Namespace