'Declaration
Public Overloads Overrides Sub PaintHeader( _
ByVal As Graphics, _
ByVal As Rectangle, _
ByVal As Rectangle, _
ByVal As Color, _
ByVal As Color, _
ByVal As Font, _
ByVal As HorizontalAlignment, _
ByVal As VerticalAlignment, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As String, _
ByVal As String, _
ByVal As ButtonTextAlign, _
ByVal As TextOrientation, _
ByVal As Boolean, _
ByVal shadowSize As Integer, _
ByVal As Color, _
ByVal As Color, _
ByVal As Image, _
ByVal As Image, _
ByVal As Boolean, _
ByVal As HotkeyPrefix, _
ByVal As VisualStyles, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Appearance, _
ByVal As Double, _
ByVal As Single _
)
'使用法
Dim instance As BaseHeaderFlatStyleRenderer
Dim g As Graphics
Dim r As Rectangle
Dim rectTextIn As Rectangle
Dim backColor As Color
Dim foreColor As Color
Dim font As Font
Dim halign As HorizontalAlignment
Dim valign As VerticalAlignment
Dim pressed As Boolean
Dim focus As Boolean
Dim text As String
Dim textDown As String
Dim nAlign As ButtonTextAlign
Dim textOrientation As TextOrientation
Dim wordWrap As Boolean
Dim shadowSize As Integer
Dim darkColor As Color
Dim lightColor As Color
Dim pictUp As Image
Dim pictDown As Image
Dim bLocked As Boolean
Dim prefix As HotkeyPrefix
Dim style As VisualStyles
Dim mouseOver As Boolean
Dim rightToLeft As Boolean
Dim appearance As Appearance
Dim textRotationAngle As Double
Dim zoomFactor As Single
instance.PaintHeader(g, r, rectTextIn, backColor, foreColor, font, halign, valign, pressed, focus, text, textDown, nAlign, textOrientation, wordWrap, shadowSize, darkColor, lightColor, pictUp, pictDown, bLocked, prefix, style, mouseOver, rightToLeft, appearance, textRotationAngle, zoomFactor)
public override void PaintHeader(
Graphics ,
Rectangle ,
Rectangle ,
Color ,
Color ,
Font ,
HorizontalAlignment ,
VerticalAlignment ,
bool ,
bool ,
string ,
string ,
ButtonTextAlign ,
TextOrientation ,
bool ,
int shadowSize,
Color ,
Color ,
Image ,
Image ,
bool ,
HotkeyPrefix ,
VisualStyles ,
bool ,
bool ,
Appearance ,
double ,
float
)