Button.Text Property


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.


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

Applies to