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


ボタンのスタイルを取得または設定します。
構文
'Declaration
 
Public Overridable Property ButtonStyle As ElementWithButtonsStyle
'使用法
 
Dim instance As ElementWithButtons
Dim value As ElementWithButtonsStyle
 
instance.ButtonStyle = value
 
value = instance.ButtonStyle
public virtual ElementWithButtonsStyle ButtonStyle {get; set;}

プロパティ値

ボタン付き要素のスタイルを決定するElementWithButtonsStyle 設定
解説

ボタンはスクロールボタン、ドロップダウンボタン、ポップアップボタンのいずれかにすることができます。

ボタンの幅を指定するには、ButtonWidthプロパティを設定します。

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

ElementWithButtons クラス
ElementWithButtons メンバ
ButtonWidth プロパティ
ElementWithButtonsStyle 列挙体

 

 


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