PowerTools SPREAD for Windows Forms 8.0J
Paint メソッド (DefaultFocusIndicatorRenderer)


セルを描画するグラフィックインタフェース
x座標
y座標
幅(ピクセル単位)
高さ(ピクセル単位)
フォーカスインジケータの左側を描画するかどうかを表すブール値
フォーカスインジケータの上側を描画するかどうかを表すブール値
フォーカスインジケータの右側を描画するかどうかを表すブール値
フォーカスインジケータの下側を描画するかどうかを表すブール値
指定したコントロールとサイズを使用して、デフォルトフォーカスインジケータを持つセルを描画します。
構文
'Declaration
 
Public Sub Paint( _
   ByVal g As Graphics, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal left As Boolean, _
   ByVal top As Boolean, _
   ByVal right As Boolean, _
   ByVal bottom As Boolean _
) 
'使用法
 
Dim instance As DefaultFocusIndicatorRenderer
Dim g As Graphics
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim left As Boolean
Dim top As Boolean
Dim right As Boolean
Dim bottom As Boolean
 
instance.Paint(g, x, y, width, height, left, top, right, bottom)
public void Paint( 
   Graphics g,
   int x,
   int y,
   int width,
   int height,
   bool left,
   bool top,
   bool right,
   bool bottom
)

パラメータ

g
セルを描画するグラフィックインタフェース
x
x座標
y
y座標
width
幅(ピクセル単位)
height
高さ(ピクセル単位)
left
フォーカスインジケータの左側を描画するかどうかを表すブール値
top
フォーカスインジケータの上側を描画するかどうかを表すブール値
right
フォーカスインジケータの右側を描画するかどうかを表すブール値
bottom
フォーカスインジケータの下側を描画するかどうかを表すブール値
参照

DefaultFocusIndicatorRenderer クラス
DefaultFocusIndicatorRenderer メンバ

 

 


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