[]
Paints the corner cell.
public virtual void PaintCorner(Graphics g, Rectangle r, Color backColor, Color foreColor, Font f, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, string s, TextOrientation textOrientation, bool wordWrap, HotkeyPrefix hotkeyPrefix, StringTrimming stringTrim, VisualStyles visualStyles, bool mouseOver, bool rightToLeft, float zoomFactor)
Public Overridable Sub PaintCorner(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, f As Font, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, s As String, textOrientation As TextOrientation, wordWrap As Boolean, hotkeyPrefix As HotkeyPrefix, stringTrim As StringTrimming, visualStyles As VisualStyles, mouseOver As Boolean, rightToLeft As Boolean, zoomFactor As Single)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device interface for painting the corner cell |
Rectangle | r | Location and size of a rectangular region for painting the corner cell |
Color | backColor | Background color of the corner cell |
Color | foreColor | Foreground color of the corner cell |
Font | f | Font |
HorizontalAlignment | horizontalAlignment | Horizontal alignment of corner cell content |
VerticalAlignment | verticalAlignment | Vertical alignment of the corner cell content |
string | s | String to paint |
TextOrientation | textOrientation | Orientation of the text |
bool | wordWrap | Whether to wrap words to multiple lines |
HotkeyPrefix | hotkeyPrefix | Whether to show hotkey effects |
StringTrimming | stringTrim | String trimming mode |
VisualStyles | visualStyles | Visual styles |
bool | mouseOver | Whether the mouse is over the corner cell |
bool | rightToLeft | Whether to display right to left |
float | zoomFactor | Numeric value for scaling the display of the corner cell |