共用方式為


ListView Constructors

Definition

Overloads

ListView()

Creates and initializes a new instance of the ListView class.

ListView(ListViewCachingStrategy)

Creates and initializes a new instance of the ListView class.

ListView()

Source:
ListView.cs
Source:
ListView.cs

Creates and initializes a new instance of the ListView class.

public:
 ListView();
public ListView ();
Public Sub New ()

Applies to

ListView(ListViewCachingStrategy)

Source:
ListView.cs
Source:
ListView.cs

Creates and initializes a new instance of the ListView class.

public:
 ListView(Microsoft::Maui::Controls::ListViewCachingStrategy cachingStrategy);
public ListView (Microsoft.Maui.Controls.ListViewCachingStrategy cachingStrategy);
new Microsoft.Maui.Controls.ListView : Microsoft.Maui.Controls.ListViewCachingStrategy -> Microsoft.Maui.Controls.ListView
Public Sub New (cachingStrategy As ListViewCachingStrategy)

Parameters

cachingStrategy
ListViewCachingStrategy

A value that indicates how the List View should manage memory when displaying data items using a data template.

Applies to