PictureBox
The PictureBox control is used to show bitmap images in the user interface. It supports events to send messages to a connected device when the picture box is clicked on. The visibility and color of the PictureBox can be controlled from the connected device through the common properties shared by most controls.
Property | Access | Type | Method | Description |
---|---|---|---|---|
Image | Design-only | Image | — | The image to display in the control. Supports .bmp , .jpg , .png and .ico . |
OnClickSend | Design-only | string | — | The message to send to the connected device when the picture is clicked. |
OnDoubleClickSend | Design-only | string | — | The message to send to the connected device when the picture is double-clicked. |
OnMouseDownSend | Design-only | string | — | The message to send to the connected device when the mouse is pressed on the picture. |
OnMouseUpSend | Design-only | string | — | The message to send to the connected device when the mouse is released on the picture. |
This control also supports all the common control properties.