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


Graphicsオブジェクト。
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 BaseHeaderFlatStyleRenderer
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
Graphicsオブジェクト。
useXpStyles
XPスタイルを使用するかどうかを指定します。
toscreen
画面に描画するかどうかを指定します。
pressed
押されたかどうかを指定します。
focus
フォーカスがあるかどうかを指定します。
r
境界矩形。
dpx
x軸方向の解像度(DPI)を表す整数
dpy
y軸方向の解像度(DPI)を表す整数
style
ビジュアルスタイルを有効にするかどうか
rightToLeft
右から左に描画するかどうか
backColor
セルの背景色
参照

BaseHeaderFlatStyleRenderer クラス
BaseHeaderFlatStyleRenderer メンバ

 

 


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