ScrollViewer not scrolling in WPF
问题 I am using a scrollviewer control around my stack panel which contains an ItemsControl. When there are many items in the ItemsControl it is suppose to scroll but for some reason it just cuts of the items. Here is the code: <StackPanel> <ScrollViewer CanContentScroll="True" VerticalScrollBarVisibility="Visible"> <ItemsControl Name="icEvents" Width="Auto" Height="100" Background="AliceBlue" ItemsSource="{Binding Path=EventSources}"> <ItemsControl.ItemTemplate> <DataTemplate> <StackPanel>