BaseDataListDesigner.OnAutoFormat-Methode
HINWEIS: Diese Methode ist mittlerweile veraltet.
Behandelt das AutoFormat-Ereignis.
Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)
Syntax
'Declaration
<ObsoleteAttribute("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. https://go.microsoft.com/fwlink/?linkid=14202")> _
Protected Sub OnAutoFormat ( _
sender As Object, _
e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs
Me.OnAutoFormat(sender, e)
[ObsoleteAttribute("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. https://go.microsoft.com/fwlink/?linkid=14202")]
protected void OnAutoFormat (
Object sender,
EventArgs e
)
[ObsoleteAttribute(L"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. https://go.microsoft.com/fwlink/?linkid=14202")]
protected:
void OnAutoFormat (
Object^ sender,
EventArgs^ e
)
/** @attribute ObsoleteAttribute("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. https://go.microsoft.com/fwlink/?linkid=14202") */
protected void OnAutoFormat (
Object sender,
EventArgs e
)
ObsoleteAttribute("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. https://go.microsoft.com/fwlink/?linkid=14202")
protected function OnAutoFormat (
sender : Object,
e : EventArgs
)
Parameter
- sender
Das Object, das das Ereignis ausgelöst hat.
- e
Ein EventArgs-Objekt, das die Ereignisdaten enthält.
Hinweise
Die OnAutoFormat-Methode ist veraltet und hat keine Funktion.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter .
Plattformen
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 1.0, 1.1
Veraltet (Compilerwarnung) in 2.0
Siehe auch
Referenz
BaseDataListDesigner-Klasse
BaseDataListDesigner-Member
System.Web.UI.Design.WebControls-Namespace
BaseDataList
DesignerAutoFormat-Klasse