wpf - ListView with ScrollViewer but no MouseWheelEvents -


i have following list:

listviews expander-items

these listview expanders listviewitems. listview in scrollviewer make right scrolling behaviour. problem mousewheel not working on list.

here xaml:

<window x:class="resourcelistexpanderstyle.mainwindow"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     xmlns:converter="clr-namespace:resourcelistexpanderstyle.converter"     title="mainwindow" height="350" width="525"> <window.resources>     <converter:devicetypegrouptodevicelistconverter x:key="devicetypegrouptodevicelistconverter" />     <converter:integertobrushconverter x:key="integertobrushconverter" /> </window.resources> <dockpanel>     <scrollviewer x:name="scrollviewer">         <listview x:name="outerlistview" itemssource="{binding devicetypegrouplistbystation}" horizontalcontentalignment="stretch">             <listview.itemtemplate>                 <datatemplate>                     <expander header="{binding path=name}" background="{binding path=backcolor, converter={staticresource integertobrushconverter}}">                         <listview x:name="innerlistview" itemssource="{binding converter={staticresource devicetypegrouptodevicelistconverter}}" horizontalcontentalignment="stretch">                             <listview.itemtemplate>                                 <datatemplate>                                     <textblock text="{binding path=name}" background="{binding path=backcolor, converter={staticresource integertobrushconverter}}" />                                 </datatemplate>                             </listview.itemtemplate>                         </listview>                     </expander>                 </datatemplate>             </listview.itemtemplate>         </listview>     </scrollviewer> </dockpanel> 

any idea?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -