I am having a Grid in WPF application.
I want to display all the text block on the first column in the grid to be aligned to the right.
so I thought I could do it with ColumnDefinition and Style like this:
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition>
<ColumnDefinition.Resources>
<Style TargetType={x:Type TextBlock}">
<Setter Property=....../>
</Style..
.....
But This is is not working
Any idea why?
Is that what you want?