Share via


BindableLayout.SetItemsSource(BindableObject, IEnumerable) Method

Definition

Sets the items source for the bindable layout.

public:
 static void SetItemsSource(Microsoft::Maui::Controls::BindableObject ^ b, System::Collections::IEnumerable ^ value);
public static void SetItemsSource(Microsoft.Maui.Controls.BindableObject b, System.Collections.IEnumerable value);
static member SetItemsSource : Microsoft.Maui.Controls.BindableObject * System.Collections.IEnumerable -> unit
Public Sub SetItemsSource (b As BindableObject, value As IEnumerable)

Parameters

b
BindableObject

The bindable object to set the items source on.

value
IEnumerable

The enumerable collection to use as items source.

Applies to