Skip to main content

Definition

Assembly: CloudNimble.BlazorEssentials.dll Namespace: CloudNimble.BlazorEssentials.Controls Inheritance: Microsoft.AspNetCore.Components.ComponentBase

Syntax

CloudNimble.BlazorEssentials.Controls.LoadingContainer<TItem>

Type Parameters

  • TItem -

Constructors

.ctor

Syntax

public LoadingContainer()

Properties

Data

The information you will be binding this control against. You should typically use the two-way binding syntax of ‘@bind-Data’ to connect this information to the control.

Syntax

public TItem Data { get; set; }

Property Value

Type: TItem

DataChanged

The event handler used to update the Parent control about Data changes during two-way binding.

Syntax

public Microsoft.AspNetCore.Components.EventCallback<TItem> DataChanged { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.EventCallback<TItem>

FailedContent

The content to display when the LoadingStatus list set to LoadingStatus.Failed.

Syntax

public Microsoft.AspNetCore.Components.RenderFragment FailedContent { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.RenderFragment

LoadedContent

The content to display when the LoadingStatus list set to LoadingStatus.Loaded.

Syntax

public Microsoft.AspNetCore.Components.RenderFragment<TItem> LoadedContent { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.RenderFragment<TItem>

LoadingContent

The content to display when the LoadingStatus list set to LoadingStatus.Loading.

Syntax

public Microsoft.AspNetCore.Components.RenderFragment LoadingContent { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.RenderFragment

LoadingStatus

The particular property containing the LoadingStatus that you want to track.. You should typically use the two-way binding syntax of ‘@bind-Data’ to connect this information to the control.

Syntax

public CloudNimble.BlazorEssentials.LoadingStatus LoadingStatus { get; set; }

Property Value

Type: CloudNimble.BlazorEssentials.LoadingStatus

LoadingStatusChanged

The event handler used to update the Parent control about LoadingStatus changes during two-way binding.

Syntax

public Microsoft.AspNetCore.Components.EventCallback<CloudNimble.BlazorEssentials.LoadingStatus> LoadingStatusChanged { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.EventCallback<CloudNimble.BlazorEssentials.LoadingStatus>

NoResultsContent

The content to display when the LoadingStatus list set to LoadingStatus.Loaded and Data list either null, or is a list that contains no objects.

Syntax

public Microsoft.AspNetCore.Components.RenderFragment NoResultsContent { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.RenderFragment

NotLoadedContent

The content to display when the LoadingStatus list set to LoadingStatus.NotLoaded. This is typically the initial state for a ViewModel.

Syntax

public Microsoft.AspNetCore.Components.RenderFragment NotLoadedContent { get; set; }

Property Value

Type: Microsoft.AspNetCore.Components.RenderFragment