Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/FAttributeBinder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAttribute< AttributeType > BindColumnsPresence
(
TFunction< AttributeType(const bool)> InConverter |
Bind the presence of a TEDS tag or column to a slate attribute (instead of a single member variable). | Elements/Framework/TypedElementAttributeBinding.h | |
auto BindColumnsPresence
(
FunctionType&& InConverter |
Overload for the BindColumnPresence to accept lambdas instead of TFunctions | Elements/Framework/TypedElementAttributeBinding.h | |
TAttribute< AttributeType > BindColumnsPresence
(
Queries::FConditions InConditions, |
Overload for the BindColumnPresence to accept FConditions instead of TColumnTypes | Elements/Framework/TypedElementAttributeBinding.h | |
auto BindColumnsPresence
(
Queries::FConditions InConditions, |
Overload for the BindColumnPresence(FConditions) to accept lambdas instead of TFunctions | Elements/Framework/TypedElementAttributeBinding.h |
BindColumnsPresence(TFunction< AttributeType(const bool)>)
Description
Bind the presence of a TEDS tag or column to a slate attribute (instead of a single member variable). This allows you to derive an attribute from the presence of a tag on a row
Example: const TAttribute TestHasIntAttribute(Binder.BindColumnsPresence
| Name | BindColumnsPresence |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType, TColumnType... ColumnTypes>
TAttribute < AttributeType > BindColumnsPresence
(
TFunction < AttributeType> InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConverter | Conversion function to convert from a bool (aka bHasColumn) -> AttributeType |
BindColumnsPresence(FunctionType &&)
Description
Overload for the BindColumnPresence to accept lambdas instead of TFunctions
| Name | BindColumnsPresence |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<TColumnType... ColumnTypes, typename FunctionType>
auto BindColumnsPresence
(
FunctionType && InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConverter | Conversion function to convert from a bool (aka bHasColumn) -> AttributeType |
BindColumnsPresence(Queries::FConditions, TFunction< AttributeType(const bool)>)
Description
Overload for the BindColumnPresence to accept FConditions instead of TColumnTypes
| Name | BindColumnsPresence |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename AttributeType>
TAttribute < AttributeType > BindColumnsPresence
(
Queries::FConditions InConditions,
TFunction < AttributeType> InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConditions | Conditions to check the row if it matches (can include dynamic columns) |
| InConverter | Conversion function to convert from a bool (aka bHasColumn) -> AttributeType |
BindColumnsPresence(Queries::FConditions, FunctionType &&)
Description
Overload for the BindColumnPresence(FConditions) to accept lambdas instead of TFunctions
| Name | BindColumnsPresence |
| Type | function |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.h |
| Include Path | #include "Elements/Framework/TypedElementAttributeBinding.h" |
| Source | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Framework/TypedElementAttributeBinding.inl |
template<typename FunctionType>
auto BindColumnsPresence
(
Queries::FConditions InConditions,
FunctionType && InConverter
)
A TAttribute bound to the row, column pair specified
Parameters
| Name | Remarks |
|---|---|
| InConditions | Conditions to check the row if it matches (can include dynamic columns) |
| InConverter | Conversion function to convert from a bool (aka bHasColumn) -> AttributeType |