This question is locked. New answers and comments are not allowed.
Does the beta version of the grid need to be explicitly sized for height? I can only get the grid to display 1 or 2 rows at a time. i would think setting height to auto should cause it to expand to fill the container space. This is the xaml:
| <Grid x:Name="LayoutRoot" Background="White"> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="80"/> |
| <RowDefinition Height="*"/> |
| </Grid.RowDefinitions> |
| <layout:Header Grid.Row="0"/> |
| <Border Grid.Row="1" BorderBrush="DarkGray" BorderThickness="2" Margin="10"> |
| <Grid > |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width=".5*" /> |
| <ColumnDefinition Width=".5*" /> |
| </Grid.ColumnDefinitions> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="40" /> |
| <RowDefinition Height=".6*" /> |
| <RowDefinition Height=".4*"/> |
| </Grid.RowDefinitions> |
| <menu:RadMenu ClickToOpen="True" x:Name="GroupMenu" Grid.Row="0" Grid.ColumnSpan="1" Margin="5"> |
| <menu:RadMenuItem Header="IT-FRC" IsEnabled="False"/> |
| <menu:RadMenuItem Header="SSD" /> |
| </menu:RadMenu> |
| <Border BorderBrush="DarkGray" BorderThickness="2" Margin="5" Grid.Row="1" Grid.Column="0" x:Name="GridContainer" Height="Auto"> |
| <StackPanel Orientation="Vertical" HorizontalAlignment="Center" Height="Auto"> |
| <TextBlock Text="{Binding AppointmentMonth}" HorizontalAlignment="Center" FontSize="18" /> |
| <StackPanel Orientation="Horizontal"> |
| <Button Content="Previous" VerticalAlignment="Center" Width="50" Margin="5"/> |
| <Controls:RadGridView Height="Auto" x:Name="AppointmentGrid" ItemsSource="{Binding AppointmentSlots}" ShowGroupPanel="False" ScrollMode="RealTime" AutoGenerateColumns="False" Loaded="RadGridView_Loaded" SelectionChanged="RadGridView_SelectionChanged" > |
| <Controls:RadGridView.Columns> |
| <GridView:GridViewDataColumn Width="45" HeaderText=" " DataMemberPath="Slot" /> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Mon" DataMemberPath="Mon" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Tue" DataMemberPath="Tue" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Wed" DataMemberPath="Wed" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Thu" DataMemberPath="Thu" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Fri" DataMemberPath="Fri" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Sat" DataMemberPath="Sat" CellStyle="{StaticResource GridHyperLink}"/> |
| <GridView:GridViewDataColumn Width="45" HeaderText="Sun" DataMemberPath="Sun" CellStyle="{StaticResource GridHyperLink}"/> |
| </Controls:RadGridView.Columns> |
| </Controls:RadGridView> |
| <Button Content="Next" VerticalAlignment="Center" Width="50" Margin="5" Click="NextWeekHandler"/> |
| </StackPanel> |
| </StackPanel> |
| </Border> |
| <Border Grid.Row="2" Grid.Column="0" BorderBrush="DarkGray" BorderThickness="2" Margin="5" Grid.ColumnSpan="2"> |
| </Border> |
| </Grid> |
| </Border> |
| </Grid> |