Visual Basic (Declaration) | |
---|---|
Public Property UseValue As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As MultiColumnComboBoxCellType Dim value As Boolean instance.UseValue = value value = instance.UseValue |
C# | |
---|---|
public bool UseValue {get; set;} |
This property gets or sets whether to use DataTextField or DataValueField for the values.
This cell returns the column edit value (the value which appears in the cell) as the postback data. This is the value returned from the EditValues property inside the UpdateCommand event. Set the UseValue property to true, in order to use the DataColumn (instead of ColumnEdit) value as the postback data.
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6