what is the xaml to get a text box in an Itemplate column to automatically fill the cell in the row
height and width?
Hello nickeclipsys,
I have been looking into your requirements and I can suggest you set the properties VerticalContentAlignment and HorizontalContentAlignment to Stretch for the template column in order to make the contained TextBox fill the entire space in the cell. In order to achieve this you can try the following snippet:
<ig:TemplateColumn VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" Key="Name">
<ig:TemplateColumn.ItemTemplate>
<DataTemplate>
<TextBox Background="Red" />
</DataTemplate>
</ig:TemplateColumn.ItemTemplate>
</ig:TemplateColumn>
If you need any further assistance on this, please feel free to ask.
yes I figured this one out on my own (but thanks) I also ahd to set the borderbrush to tranparent and the borderthickness to "0" on the textbox to get the desired effect.
I am really glad you manage to resolve your issue. If you still need any additional assistance on this matter, please do not hesitate to ask.