Answers for "xaml center label"

1

set text in center wpf

<Button  Height="23" HorizontalAlignment="Left" Margin="190,115,0,0" Name="MyButton" VerticalAlignment="Top" Width="75" HorizontalContentAlignment="Stretch">
    <TextBlock Text="Shahin" TextAlignment="Center" />
</Button >
Posted by: Guest on May-25-2020
1

wpf label text in center

<Label HorizontalContentAlignment="Center"/>
Posted by: Guest on June-05-2020
0

xaml center label

<Label Text="Text Here" HorizontalTextAlignment="Center" FontSize="Title"/>
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language