当此页面加载时, RadScheduler 控件无法在屏幕上完全呈现,因此下半部分不可见。如何使其大小到页面窗口中的剩余空间?
<navigation:Page>
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ria:DomainDataSource />
<TextBlock Grid.Row="0" Text="header row" />
<StackPanel Grid.Row="1">
<TextBlock Text="Label" />
<telerikScheduler:RadScheduler Height="Auto">
</telerikScheduler:RadScheduler>
</StackPanel>
</Grid>
答案 0 :(得分:0)
试试这样: -
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ria:DomainDataSource />
<TextBlock Grid.Row="0" Text="header row" />
<TextBlock Text="Label" Grid.Row="1" />
<telerikScheduler:RadScheduler Grid.Row="2" />
</Grid>