Button.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
System.String
The text displayed in the button. The default value is null
.
Remarks
Changing the Text of a button will trigger a layout cycle.