Gets or sets where buttons are displayed.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ButtonAlign As ButtonAlign |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ComboBoxCellType
Dim value As ButtonAlign
instance.ButtonAlign = value
value = instance.ButtonAlign |
Property Value
ButtonAlign setting that determines the alignment
Example
This example sets the text in the editable portion of the cell to all caps and aligns the button to the right.
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 |
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