UListView::GetSelectedItem

Gets the first selected item, if any; recommended that you only use this for single selection lists.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/ListView.h

Include

#include "Components/ListView.h"

Syntax

template<typename ObjectT>
ObjectT * GetSelectedItem() const

Remarks

Gets the first selected item, if any; recommended that you only use this for single selection lists.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss