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

#include <SegmentedControlStyle.h>

+ Inheritance diagram for FSegmentedControlStyle:

Public Member Functions

SLATECORE_API FSegmentedControlStyle ()
 
virtual ~FSegmentedControlStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FSegmentedControlStyleSetControlStyle (const FCheckBoxStyle &InStyle)
 
FSegmentedControlStyleSetFirstControlStyle (const FCheckBoxStyle &InStyle)
 
FSegmentedControlStyleSetLastControlStyle (const FCheckBoxStyle &InStyle)
 
FSegmentedControlStyleSetBackgroundBrush (const FSlateBrush &InBrush)
 
FSegmentedControlStyleSetUniformPadding (const FMargin &InMargin)
 
void UnlinkColors ()
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FSegmentedControlStyleGetDefault ()
 

Public Attributes

FCheckBoxStyle ControlStyle
 
FCheckBoxStyle FirstControlStyle
 
FCheckBoxStyle LastControlStyle
 
FSlateBrush BackgroundBrush
 
FMargin UniformPadding
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SSegmentedControl

Constructor & Destructor Documentation

◆ FSegmentedControlStyle()

FSegmentedControlStyle::FSegmentedControlStyle ( )

◆ ~FSegmentedControlStyle()

virtual FSegmentedControlStyle::~FSegmentedControlStyle ( )
inlinevirtual

Member Function Documentation

◆ GetDefault()

const FSegmentedControlStyle & FSegmentedControlStyle::GetDefault ( )
static

◆ GetResources()

void FSegmentedControlStyle::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 FSegmentedControlStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetBackgroundBrush()

FSegmentedControlStyle & FSegmentedControlStyle::SetBackgroundBrush ( const FSlateBrush InBrush)
inline

◆ SetControlStyle()

FSegmentedControlStyle & FSegmentedControlStyle::SetControlStyle ( const FCheckBoxStyle InStyle)
inline

◆ SetFirstControlStyle()

FSegmentedControlStyle & FSegmentedControlStyle::SetFirstControlStyle ( const FCheckBoxStyle InStyle)
inline

◆ SetLastControlStyle()

FSegmentedControlStyle & FSegmentedControlStyle::SetLastControlStyle ( const FCheckBoxStyle InStyle)
inline

◆ SetUniformPadding()

FSegmentedControlStyle & FSegmentedControlStyle::SetUniformPadding ( const FMargin InMargin)
inline

◆ UnlinkColors()

void FSegmentedControlStyle::UnlinkColors ( )
inline

Unlinks all colors in this style.

See also
FSlateColor::Unlink

Member Data Documentation

◆ BackgroundBrush

FSlateBrush FSegmentedControlStyle::BackgroundBrush

Background of the segmented control

◆ ControlStyle

FCheckBoxStyle FSegmentedControlStyle::ControlStyle

The style to use for our Center Control

◆ FirstControlStyle

FCheckBoxStyle FSegmentedControlStyle::FirstControlStyle

The style to use for our Left Control

◆ LastControlStyle

FCheckBoxStyle FSegmentedControlStyle::LastControlStyle

The style to use for our Left Control

◆ TypeName

const FName FSegmentedControlStyle::TypeName
static

◆ UniformPadding

FMargin FSegmentedControlStyle::UniformPadding

Padding between each control


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