Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SListView
Description
Set the current selection mode of the list. If going from multi-select to a type of single-select and one item is selected, it will be maintained (otherwise all will be cleared). If disabling selection, any current selections will be cleared.
| Name | SetSelectionMode |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Views/SListView.h |
| Include Path | #include "Widgets/Views/SListView.h" |
void SetSelectionMode
(
const TAttribute < ESelectionMode::Type > & NewSelectionMode
)