I want the content of a wpf button to be left aligned I tried the following but the text is still centered inside the button.
<Button > <StackPanel HorizontalAlignment="Stretch"> <TextBlock HorizontalAlignment="Left" Text="Save"/> </StackPanel> </Button>
What do i do?
Found it, it's HorizontalContentAlignment
.
:)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With