The Button component implements a button that can start application code execution.
The component has different properties available in the design mode and in the web form execution mode. Images used by the component should be loaded in the imageCollection property of the web form.
text. Text displayed in the component.
name. Component name.
color. Component background color.
normalState. The image displayed in the component in the normal state.
pushedState. The image displayed in the component in pressed state.
disabledState. The image displayed in the component if the component cannot be used.
hoverState. The image displayed when the mouse cursor is hovered over the component.
imageLayout. Image area relative to button text.
font. Text font options.
visible. Indicates whether the component is visible on running web form.
enabled. Indicates whether the component is available for the user.
hint. Tooltip text.
showHint. Indicates whether a tooltip is displayed when the cursor is hovered over the component.
size. Component size.
coordinate. Coordinate of the top left corner of the component.
The component has the onClick event that can start code execution. When web form is working, one can get or change component properties that are available in the IWebButton interface.
See also: