Share via


BindableLayout.SetEmptyViewTemplate(BindableObject, DataTemplate) Method

Definition

Sets the template used to create the empty view.

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

Parameters

b
BindableObject

The bindable object to set the empty view template on.

value
DataTemplate

The data template to use for the empty view.

Applies to