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

LookupDefinitionBase..::..AddVisibleColumnDefinition Method (String, ILookupFormula, Double, FieldDataTypes, String, Boolean)

Adds the visible column definition.

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

Syntax


public LookupFormulaColumnDefinition AddVisibleColumnDefinition(
	string caption,
	ILookupFormula lookupFormula,
	double percentWidth,
	FieldDataTypes dataType,
	string alias,
	bool allowNulls
)
Public Function AddVisibleColumnDefinition ( _
	caption As String, _
	lookupFormula As ILookupFormula, _
	percentWidth As Double, _
	dataType As FieldDataTypes, _
	alias As String, _
	allowNulls As Boolean _
) As LookupFormulaColumnDefinition
public:
LookupFormulaColumnDefinition^ AddVisibleColumnDefinition(
	String^ caption, 
	ILookupFormula^ lookupFormula, 
	double^ percentWidth, 
	FieldDataTypes^ dataType, 
	String^ alias, 
	bool^ allowNulls
)

Parameters

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.
alias
Type: String
The alias.
allowNulls
Type: Boolean
if set to true [allow nulls].

Return Value

LookupFormulaColumnDefinition.