Spread Windows Forms 11.0 Product Documentation
ShowGridLines Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > MultiColumnComboBoxCellType Class : ShowGridLines Property
Gets or sets whether grid lines are displayed in the drop-down list.
Syntax
'Declaration
 
Public Property ShowGridLines As Boolean
'Usage
 
Dim instance As MultiColumnComboBoxCellType
Dim value As Boolean
 
instance.ShowGridLines = value
 
value = instance.ShowGridLines
public bool ShowGridLines {get; set;}
Example
This example sets which column to use for the edit portion of the combo box and which list column serves as the data column in the combo box.
FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType mc = new
FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType();
mc.DataSourceList = ds;
mc.ListResizeColumns = FarPoint.Win.Spread.CellType.ListResizeColumns.FitWidestItem;
mc.ListWidth = 860;
mc.ListBorderStyle = BorderStyle.Fixed3D;
mc.ShowColumnHeaders = false;
mc.ShowGridLines = false;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = mc;
Dim mc As New FarPoint.Win.Spread.CellType.MultiColumnComboBoxCellType
mc.DataSourceList = ds
mc.ListResizeColumns = FarPoint.Win.Spread.CellType.ListResizeColumns.FitWidestItem
mc.ListWidth = 860
mc.ListBorderStyle = BorderStyle.Fixed3D
mc.ShowColumnHeaders = False
mc.ShowGridLines = False

FpSpread1.ActiveSheet.Cells(0, 0).CellType = mc
See Also

Reference

MultiColumnComboBoxCellType Class
MultiColumnComboBoxCellType Members