ControlDesigner.AutoFormats Property
.NET Framework 3.0
Gets the collection of predefined automatic formatting schemes to display in the Auto Format dialog box for the associated control at design time.
Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public: virtual property DesignerAutoFormatCollection^ AutoFormats { DesignerAutoFormatCollection^ get (); }
/** @property */ public DesignerAutoFormatCollection get_AutoFormats ()
public function get AutoFormats () : DesignerAutoFormatCollection
Not applicable.
Property Value
A DesignerAutoFormatCollection object that contains the predefined schemes for the control.A complete Web server control includes not only the control, but also, possibly, a corresponding control designer class that is derived from the ControlDesigner class and a formatting class that is derived from the DesignerAutoFormat class. The AutoFormats property is a collection of instances of the DesignerAutoFormat class. For a working example of automatic formatting in Visual Studio 2005, see Calendar.
Notes to Inheritors: Controls that automatically expose AutoFormats get a task list and context commands for their formats. When you are using automatic formats, use the ViewControl property to set the properties in your callback function.Community Additions
ADD
Show: