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

Syntax

public string Text { get; set; }

Value

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

Remarks

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

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0