RingSoft.DbLookup.Controls.WPF Namespace
RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

LookupWindowFactory..::..CreateLookupWindow Method

Creates the lookup window.

Namespace:  RingSoft.DbLookup.Controls.WPF
Assembly:  RingSoft.DbLookup.Controls.WPF (in RingSoft.DbLookup.Controls.WPF.dll)

Syntax


public virtual LookupWindow CreateLookupWindow(
	LookupDefinitionBase lookupDefinition,
	bool allowAdd,
	bool allowView,
	string initialSearchFor,
	PrimaryKeyValue initialPrimaryKeyValue,
	IAutoFillControl autoFillControl,
	PrimaryKeyValue readOnlyPrimaryKeyValue
)
Public Overridable Function CreateLookupWindow ( _
	lookupDefinition As LookupDefinitionBase, _
	allowAdd As Boolean, _
	allowView As Boolean, _
	initialSearchFor As String, _
	initialPrimaryKeyValue As PrimaryKeyValue, _
	autoFillControl As IAutoFillControl, _
	readOnlyPrimaryKeyValue As PrimaryKeyValue _
) As LookupWindow
public:
virtual LookupWindow^ CreateLookupWindow(
	LookupDefinitionBase^ lookupDefinition, 
	bool^ allowAdd, 
	bool^ allowView, 
	String^ initialSearchFor, 
	PrimaryKeyValue^ initialPrimaryKeyValue, 
	IAutoFillControl^ autoFillControl, 
	PrimaryKeyValue^ readOnlyPrimaryKeyValue
)

Parameters

lookupDefinition
Type: RingSoft.DbLookup.Lookup..::..LookupDefinitionBase
The lookup definition.
allowAdd
Type: Boolean
if set to true [allow add].
allowView
Type: Boolean
if set to true [allow view].
initialSearchFor
Type: String
The initial search for.
initialPrimaryKeyValue
Type: RingSoft.DbLookup..::..PrimaryKeyValue
The initial primary key value.
autoFillControl
Type: RingSoft.DbLookup.AutoFill..::..IAutoFillControl
The automatic fill control.
readOnlyPrimaryKeyValue
Type: RingSoft.DbLookup..::..PrimaryKeyValue
The read only primary key value.

Return Value

LookupWindow.