PowerTools SPREAD for Windows Forms 8.0J
PaintSheetTabPartial メソッド (GradientInterfaceRenderer)


シートタブを描画するためのグラフィックデバイスインタフェース
レンダリングされるシートタブの開始インデックス
シートタブのテキスト
x座標
y座標
幅(ピクセル単位)
高さ(ピクセル単位)
マウスがシートタブの上に置かれているかどうか
シートタブがフォーカスを持っているかどうか
配置
レイアウトが左から右かどうか
シートタブが有効かどうか
選択されていないときのシートタブのフォント
選択されているときのシートタブのフォント
部分的に表示されたシートタブを描画します。
構文
'Declaration
 
Public Sub PaintSheetTabPartial( _
   ByVal g As Graphics, _
   ByVal sheet As Integer, _
   ByVal text As String, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal mouseOver As Boolean, _
   ByVal focused As Boolean, _
   ByVal placement As TabStripPlacement, _
   ByVal isLeftToRight As Boolean, _
   ByVal enabled As Boolean, _
   ByVal font As Font, _
   ByVal activeFont As Font _
) 
'使用法
 
Dim instance As GradientInterfaceRenderer
Dim g As Graphics
Dim sheet As Integer
Dim text As String
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim mouseOver As Boolean
Dim focused As Boolean
Dim placement As TabStripPlacement
Dim isLeftToRight As Boolean
Dim enabled As Boolean
Dim font As Font
Dim activeFont As Font
 
instance.PaintSheetTabPartial(g, sheet, text, x, y, width, height, mouseOver, focused, placement, isLeftToRight, enabled, font, activeFont)
public void PaintSheetTabPartial( 
   Graphics g,
   int sheet,
   string text,
   int x,
   int y,
   int width,
   int height,
   bool mouseOver,
   bool focused,
   TabStripPlacement placement,
   bool isLeftToRight,
   bool enabled,
   Font font,
   Font activeFont
)

パラメータ

g
シートタブを描画するためのグラフィックデバイスインタフェース
sheet
レンダリングされるシートタブの開始インデックス
text
シートタブのテキスト
x
x座標
y
y座標
width
幅(ピクセル単位)
height
高さ(ピクセル単位)
mouseOver
マウスがシートタブの上に置かれているかどうか
focused
シートタブがフォーカスを持っているかどうか
placement
配置
isLeftToRight
レイアウトが左から右かどうか
enabled
シートタブが有効かどうか
font
選択されていないときのシートタブのフォント
activeFont
選択されているときのシートタブのフォント
参照

GradientInterfaceRenderer クラス
GradientInterfaceRenderer メンバ

 

 


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