See also:
NTier Windows Forms Framework Home
NTier Framework API reference

Locate a data bound user control by it's control type and entity key.

Namespace: NTier.Designer.Forms
Assembly: NTier.Designer.Forms (in NTier.Designer.Forms.dll) Version: 1.0.0.0

Syntax

C#
public static NUserControl LocateDataControlByEntityKey(
	this IControlPaneSetService controlPaneSet,
	Type controlType,
	Object key
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function LocateDataControlByEntityKey ( 
	controlPaneSet As IControlPaneSetService,
	controlType As Type,
	key As Object
) As NUserControl
Visual C++
public:
[ExtensionAttribute]
static NUserControl^ LocateDataControlByEntityKey(
	IControlPaneSetService^ controlPaneSet, 
	Type^ controlType, 
	Object^ key
)

Parameters

controlPaneSet
Type: NTier.Designer.Forms..::..IControlPaneSetService
controlType
Type: System..::..Type
key
Type: System..::..Object

Return Value

Type: NUserControl

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IControlPaneSetService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also