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

LookupDefinition<(Of <(<'TLookupEntity, TEntity>)>)>..::..AddVisibleColumnDefinition Method (Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>, Expression<(Of <(<'Func<(Of <(<'TEntity, Object>)>)>>)>)>)

Adds a visible column definition. Should only be used with the WPF LookupControl.

Namespace:  RingSoft.DbLookup.Lookup
Assembly:  RingSoft.DbLookup (in RingSoft.DbLookup.dll)

Syntax


public LookupFieldColumnDefinition AddVisibleColumnDefinition(
	Expression<Func<TLookupEntity, Object>> lookupEntityProperty,
	Expression<Func<TEntity, Object>> entityProperty
)
Public Function AddVisibleColumnDefinition ( _
	lookupEntityProperty As Expression(Of Func(Of TLookupEntity, Object)), _
	entityProperty As Expression(Of Func(Of TEntity, Object)) _
) As LookupFieldColumnDefinition
public:
LookupFieldColumnDefinition^ AddVisibleColumnDefinition(
	Expression<Func<TLookupEntity, Object^>^>^ lookupEntityProperty, 
	Expression<Func<TEntity, Object^>^>^ entityProperty
)

Parameters

lookupEntityProperty
Type: Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>
The lookup entity property.
entityProperty
Type: Expression<(Of <(<'Func<(Of <(<'TEntity, Object>)>)>>)>)>
The entity property.

Return Value

LookupFieldColumnDefinition.