GrapeCity SPREAD for Windows Forms 11.0J
ButtonWidth プロパティ (ElementWithButtons)


ヘッダボタンの幅をピクセル単位で取得または設定します。
構文
'Declaration
 
Public Overridable Property ButtonWidth As Double
'使用法
 
Dim instance As ElementWithButtons
Dim value As Double
 
instance.ButtonWidth = value
 
value = instance.ButtonWidth
public virtual double ButtonWidth {get; set;}

プロパティ値

幅(ピクセル単位)を表す倍精度浮動小数点数
解説

表示するボタンの種類を指定するには、ButtonStyle プロパティを設定します。

このプロパティは、ButtonStyle プロパティが ElementWithButtonsStyle.None に設定されている場合は効果がありません。

element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown; element.ButtonWidth = 5;
element.ButtonStyle = FarPoint.Win.ElementWithButtonsStyle.DropDown element.ButtonWidth = 5
参照

ElementWithButtons クラス
ElementWithButtons メンバ
ButtonStyle プロパティ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.