LookupJoinTableEntity<(Of <(<'TLookupEntity, TEntity, TRelatedEntity>)>)>..::..AddVisibleColumnDefinition Method (Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>, String, Expression<(Of <(<'Func<(Of <(<'TRelatedEntity, Object>)>)>>)>)>, Double)
Adds a visible column definition.
Namespace:
RingSoft.DbLookup.LookupAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public LookupFieldColumnDefinition AddVisibleColumnDefinition( Expression<Func<TLookupEntity, Object>> lookupEntityProperty, string caption, Expression<Func<TRelatedEntity, Object>> entityProperty, double percentWidth )
Public Function AddVisibleColumnDefinition ( _ lookupEntityProperty As Expression(Of Func(Of TLookupEntity, Object)), _ caption As String, _ entityProperty As Expression(Of Func(Of TRelatedEntity, Object)), _ percentWidth As Double _ ) As LookupFieldColumnDefinition
public: LookupFieldColumnDefinition^ AddVisibleColumnDefinition( Expression<Func<TLookupEntity, Object^>^>^ lookupEntityProperty, String^ caption, Expression<Func<TRelatedEntity, Object^>^>^ entityProperty, double^ percentWidth )
Parameters
- lookupEntityProperty
- Type: Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>
The lookup entity property.
- caption
- Type: String
The caption.
- entityProperty
- Type: Expression<(Of <(<'Func<(Of <(<'TRelatedEntity, Object>)>)>>)>)>
The entity property.
- percentWidth
- Type: Double
The percent of the lookup's total width.