diff options
author | Eric Maupin <ermaup@microsoft.com> | 2018-05-05 00:36:47 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2018-05-05 00:41:55 +0300 |
commit | 5f34476f36cb740cf926b2943e125a24fbea0f94 (patch) | |
tree | 30e4146c14aec6144f47d450f2a466e306e4cd53 /Xamarin.PropertyEditing.Windows | |
parent | 1986a238c1b7dbb2d63f52b02d57ddde835bc911 (diff) |
[Win] Fix scrolling in grouped mode
Removes the scrollviewer from group child lists.
Fixes #293
Diffstat (limited to 'Xamarin.PropertyEditing.Windows')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml b/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml index 9d66a6e..3fe3c53 100644 --- a/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml +++ b/Xamarin.PropertyEditing.Windows/Themes/PropertyEditorPanelStyle.xaml @@ -74,7 +74,13 @@ <DataTemplate x:Key="PropertyGroupTemplate"> <local:CategoryExpander Header="{Binding Key,Mode=OneTime}" Style="{StaticResource TreeExpanderStyle}"> - <ItemsControl Style="{StaticResource PropertyListStyle}" ScrollViewer.CanContentScroll="False" ScrollViewer.VerticalScrollBarVisibility="Disabled" ItemsSource="{Binding}" /> + <ItemsControl Style="{StaticResource PropertyListStyle}" ItemsSource="{Binding}"> + <ItemsControl.Template> + <ControlTemplate> + <ItemsPresenter /> + </ControlTemplate> + </ItemsControl.Template> + </ItemsControl> </local:CategoryExpander> </DataTemplate> |