[]
FarPoint button paint event arguments.
public struct FpButtonPaintArgs
Public Structure FpButtonPaintArgs
| Name | Description |
|---|---|
| bLocked | Whether the button is locked. |
| backColor | Background color for the button. |
| backcolor2 | Second background color for gradients in the button. |
| backstyle | Background style for the button. |
| darkColor | Dark color for the sides of the button. |
| focus | Whether the button has focus. |
| font | Font face for text for the button. |
| foreColor | Text color for the button. |
| g | Graphics device for the button. |
| getPreferredSizeDirection | The direction for getting preferred size |
| halign | Horizontal alignement of text for the button. |
| isGrayScale | indicates that painting in grayscale mode |
| lightColor | Light color for the sides of the button. |
| mode | Linear gradient mode for the button. |
| mouseOver | Whether the mouse is over the button. |
| nAlign | Alignment of text in the button. |
| pictDown | Image for the button when it is pressed. |
| pictUp | Image for the button when it is not pressed. |
| prefix | Hotkey prefix of the button. |
| pressed | Whether the button is pressed. |
| r | Rectangular area for the button. |
| rectTextIn | Rectangular area for the text. |
| rightToLeft | Whether right-to-left layout. |
| shadowSize | Size of the shadow of the button. |
| style | Visual style of the button. |
| text | String text in the button. |
| textDown | String text when the button is pressed. |
| textOrientation | Orientation of text in the button. |
| txtIndent | Amount of text indent. |
| txtRotationAngle | Amount of text rotation angle. |
| useVSBackColor | Whether to use Visual Studio background color. |
| valign | Vertical alignement of text for the button. |
| wordWrap | Whether the text can wrap to multiple lines. |