This documentation is archived and is not being maintained.

CalendarDesigner.OnAutoFormat Method

Handles the the AutoFormat event to display a new CalendarAutoFormatDialog.

[Visual Basic]
Protected Sub OnAutoFormat( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
protected void OnAutoFormat(
 object sender,
 EventArgs e
);
[C++]
protected: void OnAutoFormat(
 Object* sender,
 EventArgs* e
);
[JScript]
protected function OnAutoFormat(
   sender : Object,
 e : EventArgs
);

Parameters

sender
The source of the event.
e
The EventArgs object that contains the event data.

Remarks

The auto-format dialog provides a user interface that allows selection from the available, predefined calendar appearances.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

CalendarDesigner Class | CalendarDesigner Members | System.Web.UI.Design.WebControls Namespace

Show: