[]
Paints the multiple options buttons with default width and height.
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, HorizontalAlignment halign, VerticalAlignment valign, ButtonTextAlign nAlign, RadioOrientation nOrientation, RadioPicture radioPicture, ArrayList radioList, int selectedItem, int focusItem, bool pressed, bool mnemonics, Picture backpict, bool bLocked, bool compact = false)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, halign As HorizontalAlignment, valign As VerticalAlignment, nAlign As ButtonTextAlign, nOrientation As RadioOrientation, radioPicture As RadioPicture, radioList As ArrayList, selectedItem As Integer, focusItem As Integer, pressed As Boolean, mnemonics As Boolean, backpict As Picture, bLocked As Boolean, Optional compact As Boolean = False)
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | r | |
Color | backColor | |
Color | foreColor | |
Font | font | |
HorizontalAlignment | halign | |
VerticalAlignment | valign | |
ButtonTextAlign | nAlign | |
RadioOrientation | nOrientation | |
RadioPicture | radioPicture | |
ArrayList | radioList | |
int | selectedItem | |
int | focusItem | |
bool | pressed | |
bool | mnemonics | |
Picture | backpict | |
bool | bLocked | |
bool | compact |
Paints the multiple options buttons.
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, HorizontalAlignment halign, VerticalAlignment valign, ButtonTextAlign nAlign, RadioOrientation nOrientation, RadioPicture radioPicture, ArrayList radioList, int selectedItem, int focusItem, bool pressed, bool mnemonics, Picture backpict, bool bLocked, int pictWidth, int pictHeight, int mouseItem, VisualStyles visualStyles, bool rightToLeft, bool compact = false)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, halign As HorizontalAlignment, valign As VerticalAlignment, nAlign As ButtonTextAlign, nOrientation As RadioOrientation, radioPicture As RadioPicture, radioList As ArrayList, selectedItem As Integer, focusItem As Integer, pressed As Boolean, mnemonics As Boolean, backpict As Picture, bLocked As Boolean, pictWidth As Integer, pictHeight As Integer, mouseItem As Integer, visualStyles As VisualStyles, rightToLeft As Boolean, Optional compact As Boolean = False)
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | r | |
Color | backColor | |
Color | foreColor | |
Font | font | |
HorizontalAlignment | halign | |
VerticalAlignment | valign | |
ButtonTextAlign | nAlign | |
RadioOrientation | nOrientation | |
RadioPicture | radioPicture | |
ArrayList | radioList | |
int | selectedItem | |
int | focusItem | |
bool | pressed | |
bool | mnemonics | |
Picture | backpict | |
bool | bLocked | |
int | pictWidth | |
int | pictHeight | |
int | mouseItem | |
VisualStyles | visualStyles | |
bool | rightToLeft | |
bool | compact |
Paints the multiple options buttons.
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, HorizontalAlignment halign, VerticalAlignment valign, ButtonTextAlign nAlign, RadioOrientation nOrientation, RadioPicture radioPicture, ArrayList radioList, int selectedItem, int focusItem, bool pressed, bool mnemonics, Picture backpict, bool bLocked, int pictWidth, int pictHeight, int mouseItem, VisualStyles visualStyles, bool rightToLeft, bool isGrayScale, bool compact = false)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, halign As HorizontalAlignment, valign As VerticalAlignment, nAlign As ButtonTextAlign, nOrientation As RadioOrientation, radioPicture As RadioPicture, radioList As ArrayList, selectedItem As Integer, focusItem As Integer, pressed As Boolean, mnemonics As Boolean, backpict As Picture, bLocked As Boolean, pictWidth As Integer, pictHeight As Integer, mouseItem As Integer, visualStyles As VisualStyles, rightToLeft As Boolean, isGrayScale As Boolean, Optional compact As Boolean = False)
Type | Name | Description |
---|---|---|
Graphics | g | GDI+ grphics surface |
Rectangle | r | Image rectangle |
Color | backColor | Background color of control |
Color | foreColor | Foreground (text) color of control |
Font | font | Font of the text |
HorizontalAlignment | halign | Horizontal alignment of the control |
VerticalAlignment | valign | Vertical alignment of the control |
ButtonTextAlign | nAlign | Aligment of text |
RadioOrientation | nOrientation | Specifies the orientation of the option buttons in the control. |
RadioPicture | radioPicture | Represents the pictures for the different option button states. |
ArrayList | radioList | List of radio |
int | selectedItem | Index of selected item in list |
int | focusItem | Index of of focused item in list |
bool | pressed | Whether radio is pressed |
bool | mnemonics | Whether nemonics is on/off |
Picture | backpict | Background picture of check box |
bool | bLocked | Whether it is locked |
int | pictWidth | Specifies width of picture |
int | pictHeight | Specifies height of picture |
int | mouseItem | Index of item on mouse position |
VisualStyles | visualStyles | if visual styles are applied to the control |
bool | rightToLeft | Specifies whether system is right to left |
bool | isGrayScale | Whether painting in grayscale mode |
bool | compact |