System.Web.UI.Design.ControlDesigner.OnAutoFormatApplied Method

Called when a predefined, automatic formatting scheme has been applied to the associated control.

Syntax

public virtual void OnAutoFormatApplied (DesignerAutoFormat appliedAutoFormat)

Parameters

appliedAutoFormat
A System.Web.UI.Design.DesignerAutoFormat object that defines a style.

Remarks

The ControlDesigner.OnAutoFormatApplied(DesignerAutoFormat) method is called after a System.Web.UI.Design.DesignerAutoFormat object has applied a predefined format to the associated control. A System.Web.UI.Design.DesignerAutoFormat object defines the automatic formatting scheme name and style settings that are applied to the control.

Classes deriving from the System.Web.UI.Design.ControlDesigner class override the ControlDesigner.OnAutoFormatApplied(DesignerAutoFormat) method to perform additional processing when an automatic formatting scheme is applied to the associated control.

Requirements

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