How do I add these Labels
within TextBlock
, code behind
?
<TextBlock>
<Label x:Name="NumeroPergunta" FontWeight="Bold" />
<Label x:Name="Pergunta" />
</TextBlock>
What I have so far:
var tbPergunta = new TextBlock {Text = pergunta.Pergunta};