LookupJoinTableEntity<(Of <(<'TLookupEntity, TEntity, TRelatedEntity>)>)>..::..AddVisibleColumnDefinition Method (Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>, String, ILookupFormula, Double, FieldDataTypes, Boolean)
Adds the visible column definition.
Namespace:
RingSoft.DbLookup.LookupAssembly: RingSoft.DbLookup (in RingSoft.DbLookup.dll)
Syntax
public LookupFormulaColumnDefinition AddVisibleColumnDefinition( Expression<Func<TLookupEntity, Object>> lookupEntityProperty, string caption, ILookupFormula lookupFormula, double percentWidth, FieldDataTypes dataType, bool allowNulls )
Public Function AddVisibleColumnDefinition ( _ lookupEntityProperty As Expression(Of Func(Of TLookupEntity, Object)), _ caption As String, _ lookupFormula As ILookupFormula, _ percentWidth As Double, _ dataType As FieldDataTypes, _ allowNulls As Boolean _ ) As LookupFormulaColumnDefinition
public: LookupFormulaColumnDefinition^ AddVisibleColumnDefinition( Expression<Func<TLookupEntity, Object^>^>^ lookupEntityProperty, String^ caption, ILookupFormula^ lookupFormula, double^ percentWidth, FieldDataTypes^ dataType, bool^ allowNulls )
Parameters
- lookupEntityProperty
- Type: Expression<(Of <(<'Func<(Of <(<'TLookupEntity, Object>)>)>>)>)>
The lookup entity property.
- caption
- Type: String
The caption.
- lookupFormula
- Type: RingSoft.DbLookup.Lookup..::..ILookupFormula
The lookup formula.
- percentWidth
- Type: Double
Width of the percent.
- dataType
- Type: RingSoft.DbLookup..::..FieldDataTypes
Type of the data.
- allowNulls
- Type: Boolean
if set to true [allow nulls].