Called when a predefined, automatic formatting scheme has been applied to the associated control.
Assembly: System.Design (in System.Design.dll)
The 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 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 Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2