LookupDefinition<(Of <(<'TLookupEntity, TEntity>)>)>..::..AddVisibleColumnDefinition Method (Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>, String, Expression<(Of <(<'Func<(Of <(<'TEntity, Object>)>)>>)>)>, Double)
Adds the 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<TEntity, Object>> entityProperty, double percentWidth )
Public Function AddVisibleColumnDefinition ( _ lookupEntityProperty As Expression(Of Func(Of TLookupEntity, Object)), _ caption As String, _ entityProperty As Expression(Of Func(Of TEntity, Object)), _ percentWidth As Double _ ) As LookupFieldColumnDefinition
public: LookupFieldColumnDefinition^ AddVisibleColumnDefinition( Expression<Func<TLookupEntity, Object^>^>^ lookupEntityProperty, String^ caption, Expression<Func<TEntity, 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 <(<'TEntity, Object>)>)>>)>)>
The entity property.
- percentWidth
- Type: Double
Width of the percent.