2

当此页面加载时,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>

4

1 回答 1

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>
于 2010-01-17T14:02:25.753 回答