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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family