[]
Draws a list box.
public static void DrawListBox(this GcGraphics g, RectangleF bounds, IList<ChoiceFieldItem> items, int[] si, int topIndex, TextFormat textFormat, Color backColor, Border border, bool required, float orientation)
| Type | Name | Description |
|---|---|---|
| GcGraphics | g | The graphics to draw on. |
| RectangleF | bounds | The control bounds. |
| IList<ChoiceFieldItem> | items | The control items. |
| int[] | si | The list of selected indexes. |
| int | topIndex | The index of the top visible item. |
| TextFormat | textFormat | The text format to use. |
| Color | backColor | The background color. |
| Border | border | The border definition. |
| bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
| float | orientation | The rotation angle, should be a multiple of 90. |
Draws a list box.
public static void DrawListBox(this GcGraphics g, RectangleF bounds, IList<ChoiceFieldItem> items, int[] si, int topIndex, TextFormat textFormat, Color backColor, Border border, bool required)
| Type | Name | Description |
|---|---|---|
| GcGraphics | g | The graphics to draw on. |
| RectangleF | bounds | The control bounds. |
| IList<ChoiceFieldItem> | items | The control items. |
| int[] | si | The list of selected indexes. |
| int | topIndex | The index of the top visible item. |
| TextFormat | textFormat | The text format to use. |
| Color | backColor | The background color. |
| Border | border | The border definition. |
| bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
Draws a list box.
public static void DrawListBox(this GcGraphics g, RectangleF bounds, IList<ChoiceFieldItem> items, int[] si, int topIndex, Font font, float fontSize, Color foreColor, Color backColor, Border border, bool required, float orientation)
| Type | Name | Description |
|---|---|---|
| GcGraphics | g | The graphics to draw on. |
| RectangleF | bounds | The control bounds. |
| IList<ChoiceFieldItem> | items | The control items. |
| int[] | si | The list of selected indexes. |
| int | topIndex | The index of the top visible item. |
| Font | font | The font to use. |
| float | fontSize | The font size. |
| Color | foreColor | The fore color. |
| Color | backColor | The background color. |
| Border | border | The border definition. |
| bool | required | Indicates whether to draw the border in red, ignoring the color specified in |
| float | orientation | The rotation angle, should be a multiple of 90. |
Draws a list box.
public static void DrawListBox(this GcGraphics g, RectangleF bounds, IList<ChoiceFieldItem> items, int[] si, int topIndex, Font font, float fontSize, Color foreColor, Color backColor, Border border, bool required)
| Type | Name | Description |
|---|---|---|
| GcGraphics | g | The graphics to draw on. |
| RectangleF | bounds | The control bounds. |
| IList<ChoiceFieldItem> | items | The control items. |
| int[] | si | The list of selected indexes. |
| int | topIndex | The index of the top visible item. |
| Font | font | The font to use. |
| float | fontSize | The font size. |
| Color | foreColor | The fore color. |
| Color | backColor | The background color. |
| Border | border | The border definition. |
| bool | required | Indicates whether to draw the border in red, ignoring the color specified in |