PowerTools SPREAD for Windows Forms 8.0J
PaintBackground(Graphics,Boolean,Boolean,Boolean,Boolean,Rectangle,Int32,Int32,VisualStyles,Boolean,Color) メソッド


ヘッダ セルを描画するためのグラフィック デバイス インタフェース
ビジュアルスタイル(XPテーマ)を描画するかどうか
ヘッダセルを画面に描画するかどうか
ヘッダセルを押された状態で描画するかどうか
ヘッダセルがフォーカスを持つかどうか
境界矩形。
x軸方向の解像度(DPI)を表す整数
y軸方向の解像度(DPI)を表す整数
ビジュアルスタイルの設定
右から左に表示するかどうか
ヘッダセルの背景色
拡張ヘッダセルの背景を描画します。
構文
'Declaration
 
Protected Overrides Sub PaintBackground( _
   ByVal g As Graphics, _
   ByRef useXpStyles As Boolean, _
   ByVal toscreen As Boolean, _
   ByVal pressed As Boolean, _
   ByVal focus As Boolean, _
   ByVal r As Rectangle, _
   ByVal dpx As Integer, _
   ByVal dpy As Integer, _
   ByVal style As VisualStyles, _
   ByVal rightToLeft As Boolean, _
   ByVal backColor As Color _
) 
'使用法
 
Dim instance As EnhancedColumnHeaderRenderer
Dim g As Graphics
Dim useXpStyles As Boolean
Dim toscreen As Boolean
Dim pressed As Boolean
Dim focus As Boolean
Dim r As Rectangle
Dim dpx As Integer
Dim dpy As Integer
Dim style As VisualStyles
Dim rightToLeft As Boolean
Dim backColor As Color
 
instance.PaintBackground(g, useXpStyles, toscreen, pressed, focus, r, dpx, dpy, style, rightToLeft, backColor)
protected override void PaintBackground( 
   Graphics g,
   ref bool useXpStyles,
   bool toscreen,
   bool pressed,
   bool focus,
   Rectangle r,
   int dpx,
   int dpy,
   VisualStyles style,
   bool rightToLeft,
   Color backColor
)

パラメータ

g
ヘッダ セルを描画するためのグラフィック デバイス インタフェース
useXpStyles
ビジュアルスタイル(XPテーマ)を描画するかどうか
toscreen
ヘッダセルを画面に描画するかどうか
pressed
ヘッダセルを押された状態で描画するかどうか
focus
ヘッダセルがフォーカスを持つかどうか
r
境界矩形。
dpx
x軸方向の解像度(DPI)を表す整数
dpy
y軸方向の解像度(DPI)を表す整数
style
ビジュアルスタイルの設定
rightToLeft
右から左に表示するかどうか
backColor
ヘッダセルの背景色
参照

EnhancedColumnHeaderRenderer クラス
EnhancedColumnHeaderRenderer メンバ

 

 


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