EditorZoneBase.WebPartToEdit Property
.NET Framework 2.0
Note: This property is new in the .NET Framework version 2.0.
Gets a reference to the WebPart control that is currently being edited.
Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Only one WebPart control can be edited at a time, and when a control is in edit mode, the WebPartToEdit property provides a reference to that control. The control referenced is the same as the control that is referenced by the SelectedWebPart property. Therefore, a control that is currently being edited is always currently selected.
Notes to Inheritors The protected WebPartToEdit property is accessible only in derived classes, which can call this property on the base EditorZoneBase class to get an object reference to the current control being edited.Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: