Hi
I am having a problem with the width, high and the ScrollViewer
I am defining
<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="*" /></Grid.ColumnDefinitions><Grid.RowDefinitions><RowDefinition Height="*" /></Grid.RowDefinitions><ScrollViewer ScrollViewer.HorizontalScrollBarVisibility="Auto" Grid.Column="0" Grid.Row="0" ScrollViewer.VerticalScrollBarVisibility="Auto" ><toolkit:DataGrid Grid.Column="0" Grid.Row="0"> . .</toolkit:DataGrid></ScrollViewer></Grid>
when the DataGrid load the data, the rows and columns exceed the grid dimensions, the vertical scroll work perfect
but the horizontal scroll never appear, because the grid extend the column and not limit the width to the container
I need the scroll vertical and horizontal, but only the vertical is effective, the horizontal expands because the grid never limits the width of datagrid
Note: the Grid is inside stackpanel
greetings
Leandro Tuttini
Blog
Buenos Aires
Argentina