51 template <
typename ItemObjectT,
typename AllocatorType = FDefaultAllocator>
72 template <
typename RowW
idgetT = UUserW
idget>
80 template <
typename ObjectT = UObject>
90 UFUNCTION(BlueprintCallable, Category = ListView)
94 UFUNCTION(BlueprintCallable, Category = ListView)
98 UFUNCTION(BlueprintCallable, Category = ListView)
102 UFUNCTION(BlueprintCallable, Category = ListView)
106 UFUNCTION(BlueprintCallable, Category = ListView)
110 UFUNCTION(BlueprintCallable, Category = ListView)
114 UFUNCTION(BlueprintCallable, Category = ListView)
118 UFUNCTION(BlueprintCallable, Category = ListView)
122 UFUNCTION(BlueprintCallable, Category = ListView)
130 UFUNCTION(BlueprintCallable, Category = ListView)
131 UMG_API bool IsRefreshPending()
const;
134 UFUNCTION(BlueprintCallable, Category = ListView)
138 UFUNCTION(BlueprintCallable, Category = ListView)
142 UFUNCTION(BlueprintCallable, Category = ListView)
175 UMG_API virtual void OnItemClickedInternal(
UObject* Item)
override;
176 UMG_API virtual void OnItemDoubleClickedInternal(
UObject* Item)
override;
180 UMG_API virtual void OnListViewFinishedScrollingInternal()
override;
189 FListViewConstructArgs Args;
190 Args.bAllowFocus = bIsFocusable;
191 Args.SelectionMode = SelectionMode;
192 Args.bClearSelectionOnClick = bClearSelectionOnClick;
193 Args.ConsumeMouseWheel = ConsumeMouseWheel;
194 Args.bReturnFocusToSelection = bReturnFocusToSelection;
195 Args.bClearScrollVelocityOnSelection = bClearScrollVelocityOnSelection;
197 Args.ListViewStyle = &WidgetStyle;
198 Args.ScrollBarStyle = &ScrollBarStyle;
199 Args.ShadowBoxStyle = &ShadowBrushStyle;
200 Args.bEnableShadowBoxStyle = bEnableShadowBrush;
201 Args.ScrollBarPadding = ScrollBarPadding;
202 Args.ScrollIntoViewAlignment = ScrollIntoViewAlignment;
211 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView, meta = (DisplayName =
"Style"))
214 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
217 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Style", meta=( DisplayName="
Enable Shadow Brush Style" ))
220 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category="Style", meta=( DisplayName="
Shadow Brush Style", EditCondition = bEnableShadowBrush, EditConditionHides ))
228 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
231 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
234 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
237 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
238 bool bClearSelectionOnClick =
false;
240 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
243 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
244 bool bClearScrollVelocityOnSelection =
true;
246 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = ListView)
247 bool bReturnFocusToSelection =
false;
250 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Scrolling)
258#if WITH_EDITORONLY_DATA
263 UPROPERTY(meta = (DeprecatedProperty, DeprecationMessage =
"EntrySpacing has been deprecated. Please use HorizontalEntrySpacing and VerticalEntrySpacing."), BlueprintReadOnly, BlueprintGetter =
"GetHorizontalEntrySpacing", Category = ListView, meta = (ClampMin = 0))
264 float EntrySpacing = 0.f;
268 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category = ListView, meta = (ClampMin = 0, AllowPrivateAccess =
"true"))
269 float HorizontalEntrySpacing = 0.f;
271 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category = ListView, meta = (ClampMin = 0, AllowPrivateAccess = "
true"))
272 float VerticalEntrySpacing = 0.f;
274 UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category = ListView, meta = (AllowPrivateAccess = "
true", DisplayAfter="ScrollBarStyle"))
280 UFUNCTION(BlueprintCallable, Category = ListView)
281 float GetHorizontalEntrySpacing()
const {
return HorizontalEntrySpacing; }
284 UFUNCTION(BlueprintCallable, Category = ListView)
285 float GetVerticalEntrySpacing()
const {
return VerticalEntrySpacing; }
289 FMargin GetScrollBarPadding()
const {
return ScrollBarPadding; }
304 UE_DEPRECATED(5.6,
"InitHorizontalEntrySpacing is deprecated, please use SetHorizontalEntrySpacing instead.")
307 UE_DEPRECATED(5.6, "InitVerticalEntrySpacing is deprecated,
please use SetVerticalEntrySpacing
instead.")
314 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "
Set Selected Item"))
318 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "
Set Item Selection"))
322 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "
Clear Selection"))
323 UMG_API void BP_ClearSelection();
326 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "Get
Num Items
Selected"))
330 UFUNCTION(BlueprintCallable, BlueprintPure =
false, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "GetSelectedItems"))
334 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "Is Item
Visible"))
338 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "
Navigate To Item"))
342 UFUNCTION(BlueprintCallable, Category = ListView, meta = (AllowPrivateAccess =
true, DisplayName = "
Scroll Item
Into View"))
347 UMG_API void BP_CancelScrollIntoView();
354 UFUNCTION(BlueprintCallable, Category = ListView, meta = (DisplayName = "Get
Selected Item", AllowPrivateAccess =
true))
362 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Clicked"))
365 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item
Double Clicked"))
368 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Drag
Detected"))
371 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Drag
Enter"))
374 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Drag
Leave"))
377 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item
Accept Drop"))
380 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Drag
Cancelled"))
389 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On Item Selection
Changed"))
395 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On List View
Scrolled"))
398 UPROPERTY(BlueprintAssignable, Category = Events, meta = (DisplayName = "
On List View
Finished Scrolling"))