I have a grid control where it has been split Column wise.
<Grid HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition Width="80" />
<ColumnDefinition Width="65" />
</Grid.ColumnDefinitions>
</Grid>
I have a border control inside column 0. However I am facing an issue that border control is not filling upto the width of this column. The border contains a textblock with Wrapping enabled. if the text in textblock is bigger than width, then it gets wrapped and it stretches to fill available space.
However, if the text block contains small text which is of around 5-10 characters only, then border control does not stretches.
The border control is explicitly set with HorizontalAlignment and VerticalAlignment as Stretch and Margin as 0. but still the border doesn't stretch to what the space is available in column 0?
Border
here? – XAMeLi