SListView::SetItemSelection

Set the selection state of multiple items.

Choose your operating system:

Windows

macOS

Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Views/SListView.h

Include

#include "Widgets/Views/SListView.h"

Syntax

void SetItemSelection
(
    const TArray< ItemType > & InItems,
    bool bSelected,
    ESelectInfo::Type SelectInfo
)

Remarks

Set the selection state of multiple items.

Parameters

Parameter

Description

InItems

The Items whose selection state to modify

bSelected

true to select the items; false to unselect

SelectInfo

Provides context on how the selection changed