PowerTools SPREAD for Windows Forms 8.0J
ButtonAlign プロパティ (ComboBoxCellType)


ボタンが表示される位置を取得または設定します。
構文
'Declaration
 
Public Property ButtonAlign As ButtonAlign
'使用法
 
Dim instance As ComboBoxCellType
Dim value As ButtonAlign
 
instance.ButtonAlign = value
 
value = instance.ButtonAlign
public ButtonAlign ButtonAlign {get; set;}

プロパティ値

配置を決定するButtonAlign設定
次のサンプル コードは、セルの編集可能部分のテキストをすべて大文字に設定し、ボタンを右揃えで配置します。
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
参照

ComboBoxCellType クラス
ComboBoxCellType メンバ

開発者ガイド

コンボボックス型セル

 

 


© 2004-2015, GrapeCity inc. All rights reserved.