Edit

Bagikan melalui


BaseDataListDesigner.OnAutoFormat(Object, EventArgs) Method

Definition

Caution

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

Handles the AutoFormat event.

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)

Parameters

sender
Object

The Object that raised the event.

e
EventArgs

An EventArgs object that contains the event data.

Attributes

Remarks

The OnAutoFormat method is obsolete and has no functionality.

Applies to

See also