Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/ExpandableArea.h |
Include | #include "Components/ExpandableArea.h" |
Syntax
UCLASS (MinimalAPI)
class UExpandableArea :
public UWidget ,
public INamedSlotInterface
Variables
Type | Name | Description | |
---|---|---|---|
FMargin | AreaPadding | ||
bool | bIsExpanded | ||
TObjectPtr< UWidget > | BodyContent | ||
FSlateBrush | BorderBrush | ||
FSlateColor | BorderColor | ||
TObjectPtr< UWidget > | HeaderContent | ||
FMargin | HeaderPadding | ||
float | MaxHeight | The maximum height of the area | |
TSharedPtr< SExpandableArea > | MyExpandableArea | ||
FOnExpandableAreaExpansionChanged | OnExpansionChanged | A bindable delegate for the IsChecked. | |
FExpandableAreaStyle | Style |
Constructors
Type | Name | Description | |
---|---|---|---|
UExpandableArea
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
FMargin | |||
const FSlateBrush & | |||
const FSlateColor & | |||
FMargin | |||
bool | |||
float | GetMaxHeight () |
||
const FExpandableAreaStyle & | GetStyle () |
||
void | SetAreaPadding
(
FMargin InAreaPadding |
||
void | SetBorderBrush
(
const FSlateBrush& InBorderBrush |
||
void | SetBorderColor
(
const FSlateColor& InBorderColor |
||
void | SetHeaderPadding
(
FMargin InHeaderPadding |
||
void | SetIsExpanded
(
bool IsExpanded |
||
void | SetIsExpanded_Animated
(
bool IsExpanded |
||
void | SetMaxHeight
(
float InMaxHeight |
||
void | SetStyle
(
const FExpandableAreaStyle& InStyle |
||
void | SlateExpansionChanged
(
bool NewState |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
const FText | Gets the palette category of the widget | ||
void | OnDescendantDeselectedByDesigner
(
UWidget* DescendantWidget |
||
void | OnDescendantSelectedByDesigner
(
UWidget* DescendantWidget |
||
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from INamedSlotInterface
Type | Name | Description | |
---|---|---|---|
UWidget * | GetContentForSlot
(
FName SlotName |
Gets the widget for a given slot by name, will return nullptr if no widget is in the slot. | |
void | GetSlotNames
(
TArray< FName >& SlotNames |
Gets the names for slots that we can store widgets into. | |
void | SetContentForSlot
(
FName SlotName, |
Sets the widget for a given slot by name. |