C1.Win.C1FlexGrid Namespace > CellStyle Class : ComboList Property |
'Declaration
<C1DescriptionAttribute("Gets or sets a pipe-delimited list of valid values.")> <BrowsableAttribute(True)> Public Property ComboList As String
'Usage
Dim instance As CellStyle Dim value As String instance.ComboList = value value = instance.ComboList
If the cell is editable, this list of values is used to populate the drop-down System.Windows.Forms.ComboBox used to edit the cell.
If the list starts with a pipe character, then the list is not exclusive and the user may type values that are not on the list.
If the list contains three periods ("..."), then a button is displayed in the cell. When the user presses the button, the grid fires the CellButtonClick event.
If the list contains a pipe followed by three periods ("|..."), then a button is displayed in the cell as before, and the user may also type into the cell.
See also the DataMap property for an alternate way of specifying valid values for a cell.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2