| Visual Basic (Declaration) | |
|---|---|
Public Property CharacterSet As ComboCharacterSet | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ComboBoxCellType Dim value As ComboCharacterSet instance.CharacterSet = value value = instance.CharacterSet | |
| C# | |
|---|---|
public ComboCharacterSet CharacterSet {get; set;} | |
Property Value
ComboCharacterSet setting that determines what characters to allowThis example sets the text in the editable portion of the cell to all caps.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.CellType.ComboBoxCellType cb = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); cb.Items = new string[]{"One", "Two", "Three", "Four"}; cb.CharacterCasing = CharacterCasing.Upper; cb.CharacterSet = FarPoint.Win.ComboCharacterSet.Ascii; cb.ButtonAlign = FarPoint.Win.ButtonAlign.Right; cb.Editable = true; | |
| Visual Basic | Copy Code |
|---|---|
Dim cb As New FarPoint.Win.Spread.CellType.ComboBoxCellType cb.Items = New String() {"One", "Two", "Three", "Four"} cb.CharacterCasing = CharacterCasing.Upper cb.CharacterSet = FarPoint.Win.ComboCharacterSet.Ascii cb.ButtonAlign = FarPoint.Win.ButtonAlign.Right cb.Editable = True | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
Reference
ComboBoxCellType ClassComboBoxCellType Members
CharacterSet Enum