Click or drag to resize
BindingsExtensionsDataBindT, TValue Method (ListControl, T, FuncT, IEnumerableTValue, String, String)

Namespace: Qlik.Engine.Extensions.WinForms
Assembly: Qlik.Engine.Extensions.WinForms (in Qlik.Engine.Extensions.WinForms.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static void DataBind<T, TValue>(
	this ListControl control,
	T source,
	Func<T, IEnumerable<TValue>> action,
	string displayMember = null,
	string valueMember = null
)
where T : IGenericObject

Parameters

control
Type: System.Windows.FormsListControl
source
Type: T
action
Type: SystemFuncT, IEnumerableTValue
displayMember (Optional)
Type: SystemString
valueMember (Optional)
Type: SystemString

Type Parameters

T
TValue

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListControl. 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