ScrollViewに関する投稿を検索しても表示されない場合は、私と同じような例が見つかりませんでした。Scrollviewは表示されますが、スクロールできませんPage
以下のコードを参照すると、私のScrollViewは表示されますが、スクロールできません。私はそれを機能させるためにどの部分を変更する必要があるのだろうか?
<Page x:Class="Apps"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
Title="Apps"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Width="auto" Height="auto">
<ScrollViewer>
<StackPanel>
<Label Content="All applications stored on desktop computer" Height="28" Name="Label2" FontSize="16" FontWeight="Bold" HorizontalContentAlignment="Center" Margin="5" />
<Grid Margin ="10" HorizontalAlignment="Left" Name="gridApps" VerticalAlignment="Top" Width="auto">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="150"/>
<ColumnDefinition Width="150" />
<ColumnDefinition Width="150" />
<ColumnDefinition Width="150" />
<ColumnDefinition Width="150" />
<ColumnDefinition Width="150" />
<ColumnDefinition Width="150" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
</Grid>
</StackPanel>
</ScrollViewer>
</Page>
の作品で高さ=「ここに値を」設定のように思えますか? RowDefintionに固定高さを設定するとどうなりますか? –