Share via


PlaceholderContext(Int32, Single) Constructor

Definition

Constructs a new PlaceholderContext instance.

public PlaceholderContext (int index, float size = 0);
new Microsoft.AspNetCore.Components.Web.Virtualization.PlaceholderContext : int * single -> Microsoft.AspNetCore.Components.Web.Virtualization.PlaceholderContext
Public Sub New (index As Integer, Optional size As Single = 0)

Parameters

index
Int32

The item index of the placeholder.

size
Single

The size of the placeholder in pixels.

Applies to