PowerTools SPREAD for Windows Forms 8.0J
Appearance コンストラクタ(Color,Color,Font,CellHorizontalAlignment,CellVerticalAlignment,Boolean,Boolean,Color,Color,Color,Color,VisualStyles,SortState,FilterState,Boolean,Boolean,Boolean,Boolean,Boolean,Int32,CellPadding,Boolean)


オブジェクトの背景色
オブジェクトの前景(テキスト)色
オブジェクトのフォント情報
オブジェクトまたはテキストのセル内の水平配置
オブジェクトまたはテキストのセル内の垂直配置
オブジェクトの第1ボタンを描画するかどうか
オブジェクトの第2ボタンを描画するかどうか
オブジェクト選択時のオブジェクトの背景色
オブジェクト選択時のオブジェクトの前景(テキスト)色
セルがロックされているときのオブジェクトの背景色
セルがロックされているときのオブジェクトの前景(テキスト)色
表示スタイルを使用して(XPテーマのように)レンダリングするかどうか
ソート状態
フィルタリング状態
レンダリングされる項目の上にマウスがあるかどうか。
項目をホット項目としてレンダリングするかどうかを決定します。
ゼロ値をセルに表示するかどうかを決定します。
オブジェクトを右から左へ描画するかどうか
選択を含む場合はTrue
テキストのインデント。
セルの周囲のパディング。
編集コントロールにボタンを描画するかどうかを決定します。
色、ボタン、配置、ビジュアルスタイル、ソートおよびフィルタリング状態を指定して、外観設定のセットを作成します。
構文
'Declaration
 
Public Function New( _
   ByVal backColor As Color, _
   ByVal foreColor As Color, _
   ByVal font As Font, _
   ByVal horizontalAlignment As CellHorizontalAlignment, _
   ByVal verticalAlignment As CellVerticalAlignment, _
   ByVal drawPrimaryButton As Boolean, _
   ByVal drawSecondaryButton As Boolean, _
   ByVal selectionBackColor As Color, _
   ByVal selectionForeColor As Color, _
   ByVal lockBackColor As Color, _
   ByVal lockForeColor As Color, _
   ByVal visualStyle As VisualStyles, _
   ByVal sortState As SortState, _
   ByVal filterState As FilterState, _
   ByVal mouseOver As Boolean, _
   ByVal showActive As Boolean, _
   ByVal displayZero As Boolean, _
   ByVal rightToLeft As Boolean, _
   ByVal containsSelection As Boolean, _
   ByVal textIndent As Integer, _
   ByVal cellPadding As CellPadding, _
   ByVal drawEditButtons As Boolean _
)
'使用法
 
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
Dim horizontalAlignment As CellHorizontalAlignment
Dim verticalAlignment As CellVerticalAlignment
Dim drawPrimaryButton As Boolean
Dim drawSecondaryButton As Boolean
Dim selectionBackColor As Color
Dim selectionForeColor As Color
Dim lockBackColor As Color
Dim lockForeColor As Color
Dim visualStyle As VisualStyles
Dim sortState As SortState
Dim filterState As FilterState
Dim mouseOver As Boolean
Dim showActive As Boolean
Dim displayZero As Boolean
Dim rightToLeft As Boolean
Dim containsSelection As Boolean
Dim textIndent As Integer
Dim cellPadding As CellPadding
Dim drawEditButtons As Boolean
 
Dim instance As New Appearance(backColor, foreColor, font, horizontalAlignment, verticalAlignment, drawPrimaryButton, drawSecondaryButton, selectionBackColor, selectionForeColor, lockBackColor, lockForeColor, visualStyle, sortState, filterState, mouseOver, showActive, displayZero, rightToLeft, containsSelection, textIndent, cellPadding, drawEditButtons)

パラメータ

backColor
オブジェクトの背景色
foreColor
オブジェクトの前景(テキスト)色
font
オブジェクトのフォント情報
horizontalAlignment
オブジェクトまたはテキストのセル内の水平配置
verticalAlignment
オブジェクトまたはテキストのセル内の垂直配置
drawPrimaryButton
オブジェクトの第1ボタンを描画するかどうか
drawSecondaryButton
オブジェクトの第2ボタンを描画するかどうか
selectionBackColor
オブジェクト選択時のオブジェクトの背景色
selectionForeColor
オブジェクト選択時のオブジェクトの前景(テキスト)色
lockBackColor
セルがロックされているときのオブジェクトの背景色
lockForeColor
セルがロックされているときのオブジェクトの前景(テキスト)色
visualStyle
表示スタイルを使用して(XPテーマのように)レンダリングするかどうか
sortState
ソート状態
filterState
フィルタリング状態
mouseOver
レンダリングされる項目の上にマウスがあるかどうか。
showActive
項目をホット項目としてレンダリングするかどうかを決定します。
displayZero
ゼロ値をセルに表示するかどうかを決定します。
rightToLeft
オブジェクトを右から左へ描画するかどうか
containsSelection
選択を含む場合はTrue
textIndent
テキストのインデント。
cellPadding
セルの周囲のパディング。
drawEditButtons
編集コントロールにボタンを描画するかどうかを決定します。
参照

Appearance クラス
Appearance メンバ
オーバーロード一覧

 

 


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