I have multiple TextBoxes in my XAML-Page.
<TextBox Name="TxtCompanyId" PlaceholderText="FirmaId" Height="40" Margin="5" TextAlignment="Center" />
The TextAlignment="Center" property only centers the text of the TextBox and not the placeholdertext/hint text. Is there a way to center both?
You can surely modify the defalut style and set PlaceholderTextContentPresenter's horizontal alignment to Center:
The complete modified style: