Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/Widgets > API/Plugins/NiagaraEditor/Widgets/SItemSelector
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SItemSelector::FArguments
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/Widgets/SItemSelector.h |
| Include | #include "Widgets/SItemSelector.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SItemSelector >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AllowMultiselect
(
bool InArg |
Whether or not this item selector should allow multiple items to be selected. | |
| WidgetArgsType & | CategoryBorderBackgroundColor
(
FLinearColor InArg |
Optional border background color override to use for category rows. | |
| WidgetArgsType & | CategoryBorderBackgroundPadding
(
FMargin InArg |
Optional padding override to use for category backgrounds. | |
| WidgetArgsType & | CategoryChildSlotPadding
(
FMargin InArg |
Optional padding override to use for category child slots. | |
| WidgetArgsType & | CategoryRowStyle
(
const FTableRowStyle* InArg |
Optional style override to use for category rows. | |
| WidgetArgsType & | ClearSelectionOnClick
(
bool InArg |
Whether or not the selection should be cleared when an empty area is clicked. | |
| WidgetArgsType & | Whether or not a single click activates an item. | ||
| WidgetArgsType & | DefaultCategories
(
TArray< CategoryType > InArg |
The default categories to show in additional to ones generated from the items. | |
| WidgetArgsType & | DefaultCategoryPaths
(
TArray< TArray< CategoryType >> InArg |
The default category paths to show in additional to ones generated from the items. | |
| WidgetArgsType & | ExpandInitially
(
bool InArg |
Whether we want to expand the tree initially or not. | |
| WidgetArgsType & | HideSingleSection
(
const TAttribute< bool >& InAttribute |
An optional attribute to determine whether we should hide a single section. | |
| WidgetArgsType & | ItemRowStyle
(
const FTableRowStyle* InArg |
The style to use for category rows. | |
| WidgetArgsType & | The items to display in the item selector. | ||
| WidgetArgsType & | OnCategoryActivated
(
const FOnCategoryActivated& InDelegate |
A delegate which is called when a category is activated by either double clicking on it or by pressing enter while it's selected. | |
| WidgetArgsType & | OnCompareCategoriesForEquality
(
const FOnCompareCategoriesForEquality& InDelegate |
An optional delegate to compare two categories for equality which must be supplied when generating categories for items. | |
| WidgetArgsType & | OnCompareCategoriesForSorting
(
const FOnCompareCategoriesForSorting& InDelegate |
An optional delegate which determines the sorting for categories. | |
| WidgetArgsType & | OnCompareItemsForEquality
(
const FOnCompareItemsForEquality& InDelegate |
An optional delegate which compares items for equality. | |
| WidgetArgsType & | OnCompareItemsForSorting
(
const FOnCompareItemsForSorting& InDelegate |
An optional delegate which determines the sorting for items within each category. | |
| WidgetArgsType & | OnCompareSectionsForEquality
(
const FOnCompareSectionsForEquality& InDelegate |
An optional delegate to compare two sections for equality which must be supplied when generating sections for items. | |
| WidgetArgsType & | OnCompareSectionsForSorting
(
const FOnCompareSectionsForSorting& InDelegate |
An optional delegate which determines the sorting for sections. | |
| WidgetArgsType & | OnContextMenuOpening
(
const FOnContextMenuOpening& InDelegate |
An optional delegate called when a context menu would open for an item. | |
| WidgetArgsType & | OnDoesItemMatchFilterText
(
const FOnDoesItemMatchFilterText& InDelegate |
An optional delegate which can be used to filter items available for selection. | |
| WidgetArgsType & | OnDoesItemPassCustomFilter
(
const FOnDoesItemPassCustomFilter& InDelegate |
An optional delegate which is called to check if an item should be filtered out by external code. | |
| WidgetArgsType & | OnDoesSectionPassCustomFilter
(
const FOnDoesSectionPassCustomFilter& InDelegate |
An optional delegate which is called to check if an entire section should be filtered out by external code. | |
| WidgetArgsType & | OnGenerateWidgetForCategory
(
const FOnGenerateWidgetForCategory& InDelegate |
An optional delegate which generates widgets for categories which must be bound when generating categories for items. | |
| WidgetArgsType & | OnGenerateWidgetForItem
(
const FOnGenerateWidgetForItem& InDelegate |
The delegate which is used to generate widgets for the items to be selected. | |
| WidgetArgsType & | OnGenerateWidgetForSection
(
const FOnGenerateWidgetForSection& InDelegate |
An optional delegate which generates widgets for sections which can be bound to provide custom section widgets for items. | |
| WidgetArgsType & | OnGetCategoriesForItem
(
const FOnGetCategoriesForItem& InDelegate |
An optional delegate to get an array of categories for the specified item. | |
| WidgetArgsType & | OnGetCategoryBackgroundImage
(
const FOnGetCategoryBackgroundImage& InDelegate |
Optional border image override to use for category rows. | |
| WidgetArgsType & | OnGetItemWeight
(
const FOnGetItemWeight& InDelegate |
An optional delegate which is used to determine the suggested item of a search. | |
| WidgetArgsType & | OnGetKeyForCategory
(
const FOnGetKeyForCategory& InDelegate |
An optional delegate called to get a stable key (supports GetTypeHash()) for a category. | |
| WidgetArgsType & | OnGetKeyForItem
(
const FOnGetKeyForItem& InDelegate |
An optional delegate called to get a stable key (supports GetTypeHash()) for an item. | |
| WidgetArgsType & | OnGetKeyForSection
(
const FOnGetKeyForSection& InDelegate |
An optional delegate called to get a stable key (supports GetTypeHash()) for a section. | |
| WidgetArgsType & | OnGetSectionData
(
const FOnGetSectionData& InDelegate |
An optional delegate used to determine additional options for sections, such as type (tree or list). | |
| WidgetArgsType & | OnGetSectionsForItem
(
const FOnGetSectionsForItem& InDelegate |
An optional delegate to get an array of sections for the specified item. | |
| WidgetArgsType & | OnItemActivated
(
const FOnItemActivated& InDelegate |
A delegate which is called when an item is activated by either double clicking on it or by pressing enter while it's selected. | |
| WidgetArgsType & | OnItemExpandedInitially
(
const FOnCategoryPassesFilter& InDelegate |
An optional delegate called when initially creating this and ExpandInitially is false. | |
| WidgetArgsType & | OnItemsDragged
(
const FOnItemsDragged& InDelegate |
An optional delegate called when one or more items are dragged. | |
| WidgetArgsType & | OnItemSelected
(
const FOnItemSelected& InDelegate |
An optional delegate called when one or more items are selected. | |
| WidgetArgsType & | OnSelectionChanged
(
const FOnSelectionChanged& InDelegate |
A delegate which is called when the selection changes. | |
| WidgetArgsType & | PreserveExpansionOnRefresh
(
bool InArg |
Whether or not to preserve the expansion state when refresh is called. | |
| WidgetArgsType & | PreserveSelectionOnRefresh
(
bool InArg |
Whether or not to preserve the selection state when refresh is called. | |
| WidgetArgsType & | RefreshItemSelectorDelegates
(
TArray< FRefreshItemSelectorDelegate* > InArg |
An optional array of delegates to refresh the item selector view when executed. | |
| NamedSlotProperty< FArguments > | Slot for additional widget content to go adjacent to right of the search box. | ||
| WidgetArgsType & | SectionRowStyle
(
const FTableRowStyle* InArg |
The style to use for section rows. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |