Occurs when this designer host's document becomes the active document in the environment.
The following declaration shows the syntax for a method that handles the DocumentActivate event.
[Visual Basic] Private Sub IDesignerHostName_DocumentActivate( _ ByVal sender As Object, _ ByVal e As EventArgs _ ) [C#] private void IDesignerHostName_DocumentActivate( object sender, EventArgs e ); [C++] private: void IDesignerHostName_DocumentActivate( Object* sender, EventArgs* e ); [JScript] private IDesignerHostName_DocumentActivate( sender : Object, e : EventArgs );
Property | Description |
---|---|
|
IDesignerHost Interface | IDesignerHost MembersTopic | System.ComponentModel.Design Namespace