TextBlock.TextProperty Property

Definition

Identifies the Text  dependency property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.TextBlock.TextProperty.

public:
 static property DependencyProperty ^ TextProperty { DependencyProperty ^ get(); };
static DependencyProperty TextProperty();
public static DependencyProperty TextProperty { get; }
var dependencyProperty = TextBlock.textProperty;
Public Shared ReadOnly Property TextProperty As DependencyProperty

Property Value

DependencyProperty

The identifier of the Text dependency property.

Applies to