System.Web.UI.Design.DesignerAutoFormatCollection Class

Represents a collection of System.Web.UI.Design.DesignerAutoFormat objects within a control designer. This class cannot be inherited.

See Also: DesignerAutoFormatCollection Members


public sealed class DesignerAutoFormatCollection : IList


The System.Web.UI.Design.ControlDesigner class and any derived class defines the ControlDesigner.AutoFormats property as a System.Web.UI.Design.DesignerAutoFormatCollection object. Control developers can override the ControlDesigner.AutoFormats property in a derived control designer, add custom automatic formatting styles, and return the collection of supported formats to the visual designer.

The collection dynamically increases as objects are added. Indexes in this collection are zero-based. Use the DesignerAutoFormatCollection.Count property to determine how many automatic style formats are in the collection.

Additionally, use the System.Web.UI.Design.DesignerAutoFormatCollection methods and properties to provide the following functionality:


Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: