Spread Windows Forms 9.0 Product Documentation
ColumnEditName Property
Example 


Gets or sets which list column (by name) serves as the edit portion of the combo box.
Syntax
'Declaration
 
Public Property ColumnEditName As String
'Usage
 
Dim instance As MultiColumnComboBoxCellType
Dim value As String
 
instance.ColumnEditName = value
 
value = instance.ColumnEditName
public string ColumnEditName {get; set;}

Property Value

String containing the name of the column
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.ColumnEditName = "FName";
mc.DataColumnName = "FName";
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.ColumnEditName = "FName"
mc.DataColumnName = "FName"
FpSpread1.ActiveSheet.Cells(0, 0).CellType = mc
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

MultiColumnComboBoxCellType Class
MultiColumnComboBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.