Button.Text Button.Text Property

Definition

Gets or sets the Text displayed as the content of the button. This is a bindable property.

public string Text { get; set; }
member this.Text : string with get, set

Property Value

The text displayed in the button. The default value is null.

Remarks

Changing the Text of a button will trigger a layout cycle.

Applies to