Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UExpandableArea
- UEditorUtilityExpandableArea
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/ExpandableArea.h |
| Include | #include "Components/ExpandableArea.h" |
Syntax
class UExpandableArea :
public UWidget,
public INamedSlotInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UWidget > | BodyContent | ||
| TObjectPtr< UWidget > | HeaderContent | ||
| TSharedPtr< SExpandableArea > | MyExpandableArea | ||
| FOnExpandableAreaExpansionChanged | OnExpansionChanged | A bindable delegate for the IsChecked. |
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. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FMargin | AreaPadding | Direct access to AreaPadding is deprecated. Please use the getter or setter. | |
| bool | bIsExpanded | Direct access to bIsExpanded is deprecated. Please use the getter or setter. | |
| FSlateBrush | BorderBrush | Direct access to BorderBrush is deprecated. Please use the getter or setter. | |
| FSlateColor | BorderColor | Direct access to BorderColor is deprecated. Please use the getter or setter. | |
| FMargin | HeaderPadding | Direct access to HeaderPadding is deprecated. Please use the getter or setter. | |
| float | MaxHeight | Direct access to MaxHeight is deprecated. Please use the getter or setter. | |
| FExpandableAreaStyle | Style | Direct access to Style is deprecated. Please use SetStyle or GetStyle. |