Dela via


PlaceholderContext Struct

Definition

Contains context for a placeholder in a virtualized list.

public value class PlaceholderContext
public readonly struct PlaceholderContext
type PlaceholderContext = struct
Public Structure PlaceholderContext
Inheritance
PlaceholderContext

Constructors

PlaceholderContext(Int32, Single)

Constructs a new PlaceholderContext instance.

Properties

Index

The item index of the placeholder.

Size

The size of the placeholder in pixels.

For virtualized components with vertical scrolling, this would be the height of the placeholder in pixels. For virtualized components with horizontal scrolling, this would be the width of the placeholder in pixels.

Applies to