FlexGrid for WinForms
ComboList Property (CellStyle)



Gets or sets a pipe-delimited list of valid values.
Syntax
'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
[C1Description("Gets or sets a pipe-delimited list of valid values.")]
[Browsable(true)]
public string ComboList {get; set;}
[C1Description("Gets or sets a pipe-delimited list of valid values.")]
[Browsable(true)]
public:
property String^ ComboList {
   String^ get();
   void set (    String^ value);
}
Remarks

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.

Requirements

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

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback