CalendarDesigner.OnAutoFormat(Object, EventArgs) Method

Definition

Called when an auto-format scheme has been applied to the control.

protected:
 void OnAutoFormat(System::Object ^ sender, EventArgs ^ e);
protected void OnAutoFormat (object sender, EventArgs e);
member this.OnAutoFormat : obj * EventArgs -> unit
Protected Sub OnAutoFormat (sender As Object, e As EventArgs)

Parameters

sender
Object

The source of the event.

e
EventArgs

The EventArgs object that contains the event data.

Remarks

Schemes are applied by the user to set the appearance of a control from a collection of predefined styles. Override this method to perform other actions that might be needed after a scheme is applied to a control.

Applies to

See also