Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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 >
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #set #text #center #wpf
ADD COMMENT
Topic
Name
2+3 =