ControlDesigner.OnAutoFormatApplied Method

Note: This method is new in the .NET Framework version 2.0.

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
)

Parameters

appliedAutoFormat

A DesignerAutoFormat that defines a style.

The OnAutoFormatApplied method is called after a DesignerAutoFormat object has applied a predefined format to the associated control. A DesignerAutoFormat 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.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: