|
|
 |
 |
|
|
The ASPxButton control allows its contents to be represented by an image, or text, or image with text. This sample demonstrates the following different kinds of ASPxButton's content representation:
- Image - The whole button is represented by a single image. The image is specified by the Image.Url property; its size is controlled by the Image.Width and Image.Height properties. The Text property of a button control is not set.
- Image and Text - A button's content is represented using the combination of an image and text. The image is defined via the Image.Url property; the text is specified by the Text property. The ImagePosition property is used to control the image's position with respect to the text.
- Background Image and Text - The Text property is used to specify a button's display text. The background image of the button is defined using the BackgroundImage.ImageUrl property. In this case, the button's Cursor and ForeColor properties are additionally used to specify the cursor displayed when the mouse hovers over the button and the displayed text's color.
- Native - The ASPxButton control is rendered as a native HTML button input element. This mode is controlled by the button's Native property set to true. The button's text is defined via the Text property.
|
 | Loading… |
|
|
|
|