I've created two user controls, one creates me a row with labels and one creates me a row with TextBoxes (i'm trying to create something like dataGrid but with TextBoxes).
I put my users controls in a stackPanel, which is inside of a scrollViewer.
I'm having problems with two things:
1. I want that the scroll viewer will scroll only on the TextBox Rows, so the labels (which represent the headers) will always be visible.
I tried not to put them inside the scrollViewer, but then when I need to scroll Horizontally, the labels are not moving...
2. For some reason, the Horizontal scrollBar appears only when I'm adding the TextBox rows although I gave each TextBox the same width as it's label has.
Below you can find the relevant code:
Thanks a lot,
TextBox User Control:
<Grid x:Name ="weaponsDetailsGrid">
<ColumnDefinition Width="3" />
<ColumnDefinition Width="14" />
View Complete Post