BaseDataListDesigner.OnAutoFormatApplied(DesignerAutoFormat) Method

Definition

Called when an automatic formatting scheme has been applied to the associated control.

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

Parameters

appliedAutoFormat
DesignerAutoFormat

A DesignerAutoFormat object that defines a style.

Remarks

The OnAutoFormatApplied method is called when a DesignerAutoFormat object is applied to the associated control that is derived from the BaseDataList class. A DesignerAutoFormat object defines a DesignerAutoFormatStyle object that is applied to the control.

A designer can override the OnAutoFormatApplied to inspect properties of the control or to take some other action.

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