Posted 13 years ago
by Mary Fontana
-
Rudolph Technologies
I have a PropertyGrid as content of a docking ToolWindow.
When I use a PropertyGrid inside a ScrollViewer, the mousewheel scrolling does not work unless the mouse is over the scroll bar.
I am using Scrollviewer outside of the PropertyGrid because I had problems when expanding categories or viewing the summary.
If I use the scrollviewer of the PropGrid instead, then it does not adjust the scolling correctly when I expand a category or view the summary.
Thanks in advance for help,
Mary
Here is a part of of the PropertyGrid in a UserControl:
When I use a PropertyGrid inside a ScrollViewer, the mousewheel scrolling does not work unless the mouse is over the scroll bar.
I am using Scrollviewer outside of the PropertyGrid because I had problems when expanding categories or viewing the summary.
If I use the scrollviewer of the PropGrid instead, then it does not adjust the scolling correctly when I expand a category or view the summary.
Thanks in advance for help,
Mary
Here is a part of of the PropertyGrid in a UserControl:
<Grid>
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Visible">
<propgrid:PropertyGrid x:Name="propGrid"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
HorizontalAlignment="Stretch" MinWidth="500" MinHeight="210"
SelectedObject="{Binding CurrentRevision}"
SummaryCanAutoSize="True" SummaryHeight="Auto"
CollectionDisplayMode="Expandable">
</propgrid:PropertyGrid>
</DockPanel>
</ScrollViewer>
</Grid>