GoDiagram Win Reference
GetControl Method

must not be null, and either this.View == view or this.Document == view.Document
This is responsible for creating and initializing a Control and adding it to a view, if does not already exist.
Syntax
'Declaration
 
Public Overridable Function GetControl( _
   ByVal view As GoView _
) As Control
public virtual Control GetControl( 
   GoView view
)

Parameters

view
must not be null, and either this.View == view or this.Document == view.Document

Return Value

A Control, added to the .
Remarks
This calls FindControl. If the result is null, this calls CreateControl and remembers the resulting Control in the Map, for FindControl to return.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoControl Class
GoControl Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback