Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / ComboBoxCellType Class / CharacterCasing Property
Example


In This Topic
    CharacterCasing Property (ComboBoxCellType)
    In This Topic
    Gets or sets the case of characters in the text cell.
    Syntax
    'Declaration
     
    Public Property CharacterCasing As CharacterCasing
    'Usage
     
    Dim instance As ComboBoxCellType
    Dim value As CharacterCasing
     
    instance.CharacterCasing = value
     
    value = instance.CharacterCasing
    public CharacterCasing CharacterCasing {get; set;}

    Property Value

    CharacterCasing setting that determines the case of characters
    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