Spread Windows Forms 6.0 Product Documentation
CharacterCasing Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ComboBoxCellType Class : CharacterCasing Property


Glossary Item Box

Gets or sets the case of characters in the text cell.

Syntax

Visual Basic (Declaration) 
Public Property CharacterCasing As CharacterCasing
Visual Basic (Usage)Copy Code
Dim instance As ComboBoxCellType
Dim value As CharacterCasing
 
instance.CharacterCasing = value
 
value = instance.CharacterCasing
C# 
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.
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 BasicCopy 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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.