Partager via


FormButtonControl.buttonDisplay Method

Definition

Overloads

buttonDisplay()

Gets or sets the appearance of the button control.

buttonDisplay(Int32)

buttonDisplay()

Gets or sets the appearance of the button control.

public:
 virtual int buttonDisplay();
public virtual int buttonDisplay ();
abstract member buttonDisplay : unit -> int
override this.buttonDisplay : unit -> int
Public Overridable Function buttonDisplay () As Integer

Returns

An integer between zero and five, inclusive.

Remarks

The value of the property defines whether the text, the image, or both should be displayed on the button. This property also controls relative positions of text and image if both are displayed. The integer value that is returned contains the appearance of the button control as follows:

Value. Description.
0 Text only.
1 Image Only.
2 Text and image; the image is displayed under the text.
3 Text and image; the image is displayed above the text.
4 Text and image; the image is displayed to the left of the text.
5 Text and image; the image is displayed to the right of the text.

Applies to

buttonDisplay(Int32)

public:
 virtual int buttonDisplay(int _value);
public virtual int buttonDisplay (int _value);
abstract member buttonDisplay : int -> int
override this.buttonDisplay : int -> int
Public Overridable Function buttonDisplay (_value As Integer) As Integer

Parameters

_value
Int32

Returns

Applies to