Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LookupBindingPropertiesAttribute Constructor (String^, String^, String^, String^)

 

Initializes a new instance of the LookupBindingPropertiesAttribute class.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
LookupBindingPropertiesAttribute(
	String^ dataSource,
	String^ displayMember,
	String^ valueMember,
	String^ lookupMember
)

Parameters

dataSource
Type: System::String^

The name of the property to be used as the data source.

displayMember
Type: System::String^

The name of the property to be used for the display name.

valueMember
Type: System::String^

The name of the property to be used as the source for values.

lookupMember
Type: System::String^

The name of the property to be used for lookups.

This constructor sets each of its public properties to the corresponding supplied parameter; for example, the DataSource property is set to dataSource.

.NET Framework
Available since 2.0
Silverlight
Available since 4.0
Return to top
Show:
© 2017 Microsoft