BaseDataListDesigner.OnAutoFormat(Object, EventArgs) 方法

定义

注意

Use of this method is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed on the ControlDesigner in the AutoFormats property. http://go.microsoft.com/fwlink/?linkid=14202

处理 AutoFormat 事件。

protected:
 void OnAutoFormat(System::Object ^ sender, EventArgs ^ e);
protected void OnAutoFormat (object sender, EventArgs e);
[System.Obsolete("Use of this method is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed on the ControlDesigner in the AutoFormats property. http://go.microsoft.com/fwlink/?linkid=14202")]
protected void OnAutoFormat (object sender, EventArgs e);
member this.OnAutoFormat : obj * EventArgs -> unit
[<System.Obsolete("Use of this method is not recommended because the AutoFormat dialog is launched by the designer host. The list of available AutoFormats is exposed on the ControlDesigner in the AutoFormats property. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.OnAutoFormat : obj * EventArgs -> unit
Protected Sub OnAutoFormat (sender As Object, e As EventArgs)

参数

sender
Object

引发事件的 Object

e
EventArgs

包含事件数据的 EventArgs 对象。

属性

注解

OnAutoFormat方法已过时,没有功能。

适用于

另请参阅