1.

When Can Ui Virtualization Behavior Breaks In Windows 10 Uwp?

Answer»

MAKE sure you keep these two things in MIND when using ListView and GridView, which can CAUSE UI virtualization to break:

  • Don't place ListView/GridView inside of a ScollViewer control. Becuase by default ScrollViewer’s child elements completely expand to take as much space as they need. It can breaks the UI virtualization BEHAVIOR, as all items will be realized.
  • If you provide a custom ItemsPanel Template to change layout behavior of ListView/GridView then make sure you use a virtualizing PANEL such as ItemsWrapGrid and ItemsStackPanel. If you use VariableSizedWrapGrid, WrapGrid, or StackPanel, then you will not get virtualization.

Make sure you keep these two things in mind when using ListView and GridView, which can cause UI virtualization to break:



Discussion

No Comment Found