Skip to main content

ListViewItemsLayout

C# API / Fluence.Wpf

  • Assembly: Fluence.Wpf
  • Namespace: Fluence.Wpf
public enum ListViewItemsLayout

Specifies how a ListView arranges its items: one per row down the list, or wrapped across it as a grid of tiles.

Remarks: This is a Fluence property with no WinUI counterpart, because WinUI ships the two arrangements as separate controls (ListView and GridView). It is deliberately not named after WinUI's GridView: in WPF, View already takes a GridView, and that one means a column view.

C# source

Values​

Grid​

Grid = 1

Items wrap across the list as tiles, the way WinUI's GridView lays them out with its ItemsWrapGrid.

List​

List = 0

One item per row, in WPF's own virtualizing vertical panel. The default.