DesignerAutoFormatCollection Members

Represents a collection of DesignerAutoFormat objects within a control designer. This class cannot be inherited.

The following tables list the members exposed by the DesignerAutoFormatCollection type.

  Name Description
Public method DesignerAutoFormatCollection Initializes a new instance of the DesignerAutoFormatCollection class.
Top

  Name Description
Public property Count Gets the number of DesignerAutoFormat objects in the collection.
Public property Item Gets or sets a DesignerAutoFormat object at the specified index in the collection.
Public property PreviewSize Gets the maximum outer dimensions of the control as it will appear at run time.
Public property SyncRoot Gets an object that can be used to synchronize access to the DesignerAutoFormatCollection object.
Top

(see also Protected Methods )
  Name Description
Public method Add Adds the specified DesignerAutoFormat object to the end of the collection.
Public method Clear Removes all formats from the collection.
Public method Contains Determines whether the specified format is contained within the collection.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Returns the index of the specified DesignerAutoFormat object within the collection.
Public method Insert Inserts a DesignerAutoFormat object into the collection at the specified index.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified DesignerAutoFormat object from the collection.
Public method RemoveAt Removes the DesignerAutoFormat object at the specified index within the collection.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Collections.ICollection.CopyTo Copies the elements of the collection to an Array object, starting at a particular Array index when the DesignerAutoFormatCollection object is cast to an ICollection interface.
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Returns an IEnumerator interface that iterates through the collection when the DesignerAutoFormatCollection object is cast to an IEnumerable interface.
Explicit interface implementation Method System.Collections.IList.Add Adds an item to the collection when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Method System.Collections.IList.Contains Determines whether the collection contains a specific value when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Method System.Collections.IList.IndexOf Determines the index of a specific item in the collection when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Method System.Collections.IList.Insert Inserts an item into the collection at the specified index when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Method System.Collections.IList.Remove Removes the first occurrence of a specific object from the collection when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Method System.Collections.IList.RemoveAt Removes the item at the specified index when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Property System.Collections.ICollection.Count Returns the number of elements that are contained in the collection when the DesignerAutoFormatCollection object is cast to an ICollection interface.
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized Returns a value indicating whether access to the collection is synchronized (thread safe) when the DesignerAutoFormatCollection object is cast to an ICollection interface.
Explicit interface implementation Property System.Collections.IList.IsFixedSize Returns a value indicating whether the collection has a fixed size when the DesignerAutoFormatCollection object is cast to an IList interface.
Explicit interface implementation Property System.Collections.IList.IsReadOnly For a description of this method, see IsReadOnly.
Explicit interface implementation Property System.Collections.IList.Item Gets the element at the specified index when the DesignerAutoFormatCollection object is cast to an IList interface.
Top
Show: