Spread Windows Forms 11.0 Product Documentation
CharacterSet Property (ComboBoxCellType)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ComboBoxCellType Class : CharacterSet Property
Gets or sets what characters to allow for the text cell.
Syntax
'Declaration
 
Public Property CharacterSet As ComboCharacterSet
'Usage
 
Dim instance As ComboBoxCellType
Dim value As ComboCharacterSet
 
instance.CharacterSet = value
 
value = instance.CharacterSet
public ComboCharacterSet CharacterSet {get; set;}

Property Value

ComboCharacterSet setting that determines what characters to allow
Example
This example sets the text in the editable portion of the cell to all caps.
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;
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
See Also

Reference

ComboBoxCellType Class
ComboBoxCellType Members
CharacterSet Enum

User-Task Documentation

Setting a Combo Box Cell