UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FComboBoxStyle Struct Reference

#include <SlateTypes.h>

+ Inheritance diagram for FComboBoxStyle:

Public Member Functions

SLATECORE_API FComboBoxStyle ()
 
SLATECORE_API FComboBoxStyle (const FComboBoxStyle &)
 
virtual SLATECORE_API ~FComboBoxStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FComboBoxStyleSetComboButtonStyle (const FComboButtonStyle &InComboButtonStyle)
 
FComboBoxStyleSetPressedSound (const FSlateSound &InPressedSound)
 
FComboBoxStyleSetSelectionChangeSound (const FSlateSound &InSelectionChangeSound)
 
FComboBoxStyleSetContentPadding (const FMargin &InContentPadding)
 
FComboBoxStyleSetMenuRowPadding (const FMargin &InMenuRowPadding)
 
void UnlinkColors ()
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FComboBoxStyleGetDefault ()
 

Public Attributes

FComboButtonStyle ComboButtonStyle
 
FSlateSound PressedSlateSound
 
FSlateSound SelectionChangeSlateSound
 
FMargin ContentPadding
 
FMargin MenuRowPadding
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SComboBox

Constructor & Destructor Documentation

◆ FComboBoxStyle() [1/2]

FComboBoxStyle::FComboBoxStyle ( )

◆ FComboBoxStyle() [2/2]

FComboBoxStyle::FComboBoxStyle ( const FComboBoxStyle )
default

◆ ~FComboBoxStyle()

FComboBoxStyle::~FComboBoxStyle ( )
virtualdefault

Member Function Documentation

◆ GetDefault()

const FComboBoxStyle & FComboBoxStyle::GetDefault ( )
static

◆ GetResources()

void FComboBoxStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

Parameters
OutBrushesThe brush resources.

Reimplemented from FSlateWidgetStyle.

◆ GetTypeName()

virtual const FName FComboBoxStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetComboButtonStyle()

FComboBoxStyle & FComboBoxStyle::SetComboButtonStyle ( const FComboButtonStyle InComboButtonStyle)
inline

◆ SetContentPadding()

FComboBoxStyle & FComboBoxStyle::SetContentPadding ( const FMargin InContentPadding)
inline

◆ SetMenuRowPadding()

FComboBoxStyle & FComboBoxStyle::SetMenuRowPadding ( const FMargin InMenuRowPadding)
inline

◆ SetPressedSound()

FComboBoxStyle & FComboBoxStyle::SetPressedSound ( const FSlateSound InPressedSound)
inline

◆ SetSelectionChangeSound()

FComboBoxStyle & FComboBoxStyle::SetSelectionChangeSound ( const FSlateSound InSelectionChangeSound)
inline

◆ UnlinkColors()

void FComboBoxStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

See also
FSlateColor::Unlink

Member Data Documentation

◆ ComboButtonStyle

FComboButtonStyle FComboBoxStyle::ComboButtonStyle

The style to use for our SComboButton

◆ ContentPadding

FMargin FComboBoxStyle::ContentPadding

◆ MenuRowPadding

FMargin FComboBoxStyle::MenuRowPadding

◆ PressedSlateSound

FSlateSound FComboBoxStyle::PressedSlateSound

The sound the button should play when pressed

◆ SelectionChangeSlateSound

FSlateSound FComboBoxStyle::SelectionChangeSlateSound

The Sound to play when the selection is changed

◆ TypeName

const FName FComboBoxStyle::TypeName
static

The documentation for this struct was generated from the following files: