Skip to content

Commit

Permalink
Added virtualization for some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
TTLC198 committed Sep 9, 2023
1 parent 942c3ca commit 3f6953d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions HSMonitor/Resources/StylesResource.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,15 @@
<Style
TargetType="{x:Type ComboBox}"
BasedOn="{StaticResource {x:Type ComboBox}}">
<Setter
Property="VirtualizingStackPanel.IsVirtualizing"
Value="True"/>
<Setter
Property="VirtualizingStackPanel.VirtualizationMode"
Value="Recycling"/>
<Setter
Property="VirtualizingStackPanel.CacheLengthUnit"
Value="Page"/>
<Setter
Property="HorizontalAlignment"
Value="Right"/>
Expand Down

0 comments on commit 3f6953d

Please sign in to comment.