Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SComboBox
| Name | FComboBoxStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FComboBoxStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FComboBoxStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Styling/SlateTypes.h | |||
FComboBoxStyle
(
const FComboBoxStyle& |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FComboBoxStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComboButtonStyle | FComboButtonStyle | The style to use for our SComboButton | Styling/SlateTypes.h |
|
| ContentPadding | FMargin | Button Content Padding | Styling/SlateTypes.h |
|
| MenuRowPadding | FMargin | Menu Row Padding | Styling/SlateTypes.h |
|
| PressedSlateSound | FSlateSound | The sound the button should play when pressed | Styling/SlateTypes.h |
|
| SelectionChangeSlateSound | FSlateSound | The Sound to play when the selection is changed | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PostSerialize
(
const FArchive& Ar |
Used to upgrade the deprecated FName sound properties into the new-style FSlateSound properties | Styling/SlateTypes.h | |
FComboBoxStyle & SetComboButtonStyle
(
const FComboButtonStyle& InComboButtonStyle |
Styling/SlateTypes.h | ||
FComboBoxStyle & SetContentPadding
(
const FMargin& InContentPadding |
Styling/SlateTypes.h | ||
FComboBoxStyle & SetMenuRowPadding
(
const FMargin& InMenuRowPadding |
Styling/SlateTypes.h | ||
FComboBoxStyle & SetPressedSound
(
const FSlateSound& InPressedSound |
Styling/SlateTypes.h | ||
FComboBoxStyle & SetSelectionChangeSound
(
const FSlateSound& InSelectionChangeSound |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FComboBoxStyle & GetDefault() |
Styling/SlateTypes.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PressedSound_DEPRECATED | FName | Styling/SlateTypes.h | ||
| SelectionChangeSound_DEPRECATED | FName | Styling/SlateTypes.h |