BaseDataListDesigner.OnAutoFormatApplied(DesignerAutoFormat) 方法

定义

当自动格式设置方案应用于关联的控件时调用。

public:
 override void OnAutoFormatApplied(System::Web::UI::Design::DesignerAutoFormat ^ appliedAutoFormat);
public override void OnAutoFormatApplied(System.Web.UI.Design.DesignerAutoFormat appliedAutoFormat);
override this.OnAutoFormatApplied : System.Web.UI.Design.DesignerAutoFormat -> unit
Public Overrides Sub OnAutoFormatApplied (appliedAutoFormat As DesignerAutoFormat)

参数

appliedAutoFormat
DesignerAutoFormat

定义 DesignerAutoFormat 样式的对象。

注解

OnAutoFormatApplied当对象应用于派生自DesignerAutoFormat类的关联控件时BaseDataList,将调用该方法。 对象 DesignerAutoFormat 定义 DesignerAutoFormatStyle 应用于控件的对象。

设计器可以重写 OnAutoFormatApplied 检查控件的属性或执行其他操作。

适用于

另请参阅