mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-02 01:57:23 +13:00
Disable virtualized rendering to include non-visible items into calculation
See: https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.virtualizingstackpanel.isvirtualizing
This commit is contained in:
parent
0f1f1748a4
commit
d39588b8c5
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@
|
|||
</DockPanel>
|
||||
|
||||
<ListView x:Name="dgv" x:FieldModifier="internal" Margin="8,1,6,1" Padding="0" d:ItemsSource="{d:SampleData ItemCount=50}" SelectionMode="Single" HorizontalContentAlignment="Stretch"
|
||||
Foreground="{x:Static stm:MenuDefines.ColorForeground}" Background="{x:Null}" BorderThickness="0"
|
||||
Foreground="{x:Static stm:MenuDefines.ColorForeground}" Background="{x:Null}" BorderThickness="0" VirtualizingStackPanel.IsVirtualizing="False"
|
||||
SelectionChanged="ListView_SelectionChanged" MouseLeave="ListView_MouseLeave"
|
||||
ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.ScrollChanged="HandleScrollChanged">
|
||||
<!--ListView."Childs".Border.Padding="0" // In ctor, see: dgv_border -->
|
||||
|
|
Loading…
Reference in a new issue