Share via


BindableLayout.SetEmptyView(BindableObject, Object) Method

Definition

Sets the view displayed when the items source is empty.

public:
 static void SetEmptyView(Microsoft::Maui::Controls::BindableObject ^ b, System::Object ^ value);
public static void SetEmptyView(Microsoft.Maui.Controls.BindableObject b, object value);
static member SetEmptyView : Microsoft.Maui.Controls.BindableObject * obj -> unit
Public Sub SetEmptyView (b As BindableObject, value As Object)

Parameters

b
BindableObject

The bindable object to set the empty view on.

value
Object

The view or content to display when items source is empty.

Applies to