Читати англійською Редагувати

Поділитися через


ControlDesigner.OnAutoFormatApplied(DesignerAutoFormat) Method

Definition

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

C#
public virtual void OnAutoFormatApplied(System.Web.UI.Design.DesignerAutoFormat appliedAutoFormat);

Parameters

appliedAutoFormat
DesignerAutoFormat

A DesignerAutoFormat object that defines a style.

Remarks

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.

Applies to

Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also