I have a number of UserControls inside a ListView. Somehow WPF implemented horizontal scrolling even without a ScrollViewer. When I try to implement vertical scrolling, the ScrollViewer is grey and unusable. I tried wrapping the ListView in a ScrollViewer but it will not scroll. Even if I delete the ListView and only try to put a StackPanel with Textboxes in it, the ScrollViewer is still disabled. Is there something I'm missing?
XAML:
<ScrollViewer VerticalScrollBarVisibility="Visible" CanContentScroll="True"
Grid.Row="1" Grid.Column="1">
<ListBox Margin="0,0,10,10" ItemsSource="{Binding Feeder}"
Grid.RowSpan="3">
<ListBox.ItemContainerStyle>
<Style TargetType="{x:Type ListBoxItem}">
<Setter Property="Focusable" Value="False"/>
</Style>
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>
<local:FeederControl FeederName="{Binding FeederName}"
AxisList="{Binding AxisList}"></local:FeederControl>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</ScrollViewer>