This documentation is archived and is not being maintained.

IDesignerEventService.ActiveDesigner Property

Gets the root designer for the currently active document.

[Visual Basic]
ReadOnly Property ActiveDesigner As IDesignerHost
[C#]
IDesignerHost ActiveDesigner {get;}
[C++]
__property IDesignerHost* get_ActiveDesigner();
[JScript]
function get ActiveDesigner() : IDesignerHost;

Property Value

The currently active document, or a null reference (Nothing in Visual Basic) if there is no active document.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IDesignerEventService Interface | IDesignerEventService Members | System.ComponentModel.Design Namespace

Show: