0
I need to make the label of my code receive the value of a property.
<Grid BackgroundColor="Black">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Label Grid.Column="0" Grid.Row="0"
Text="Ponto"
FontSize="20" TextColor="WhiteSmoke"
VerticalTextAlignment="Center" HorizontalTextAlignment="Center"></Label>
<Label Grid.Column="1" Grid.Row="0"
Text="Ponto" TextColor="WhiteSmoke" FontSize="20"
VerticalTextAlignment="Center" HorizontalTextAlignment="Center"></Label>
<Button Grid.Column="0" Grid.Row="1"
Text="+1" TextColor="WhiteSmoke" FontSize="20"
BackgroundColor="OrangeRed"></Button>
<Button Grid.Column="1" Grid.Row="1"
Text="+1" TextColor="WhiteSmoke" FontSize="20"
BackgroundColor="OrangeRed"></Button>
<Button Grid.Column="0" Grid.Row="2"
Text="-1" TextColor="WhiteSmoke" FontSize="20"
BackgroundColor="OrangeRed"></Button>
<Button Grid.Column="1" Grid.Row="2"
Text="-1" TextColor="WhiteSmoke" FontSize="20"
BackgroundColor="OrangeRed"></Button>
</Grid>
You are using the MVVM model?
– Pedro Paulo