ControlDesigner.OnAutoFormatApplied Method

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

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

public:
virtual void OnAutoFormatApplied (
	DesignerAutoFormat^ appliedAutoFormat
)
public void OnAutoFormatApplied (
	DesignerAutoFormat appliedAutoFormat
)
public function OnAutoFormatApplied (
	appliedAutoFormat : DesignerAutoFormat
)
Not applicable.

Parameters

appliedAutoFormat

A DesignerAutoFormat object that defines a style.

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

Classes deriving from the ControlDesigner class override the OnAutoFormatApplied method to perform additional processing when an automatic formatting scheme is applied to the associated control.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: