FSegmentedControlStyle

Represents the appearance of an [SSegmentedControl](API\Runtime\Slate\Widgets\Input\SSegmentedControl)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlateWidgetStyle

FSegmentedControlStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SegmentedControlStyle.h

Include

#include "Styling/SegmentedControlStyle.h"

Syntax

struct FSegmentedControlStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SSegmentedControl

Variables

Name Description

Public variable

FSlateBrush

 

BackgroundBrush

Background of the segmented control

Public variable

FCheckBoxStyle

 

ControlStyle

The style to use for our Center Control

Public variable

FCheckBoxStyle

 

FirstControlStyle

The style to use for our Left Control

Public variable

FCheckBoxStyle

 

LastControlStyle

The style to use for our Left Control

Public variable

FMargin

 

UniformPadding

Padding between each control

Constructors

Name Description

Public function

FSegmentedControlStyle()

Destructors

Name Description

Public function Virtual

~FSegmentedControlStyle()

Functions

Name Description

Public function Static

const FSegme...

 

GetDefault()

Public function

FSegmentedCo...

 

SetBackgroundBrush

(
    const FSlateBrush& InBrush
)

Public function

FSegmentedCo...

 

SetControlStyle

(
    const FCheckBoxStyle& InStyle
)

Public function

FSegmentedCo...

 

SetFirstControlStyle

(
    const FCheckBoxStyle& InStyle
)

Public function

FSegmentedCo...

 

SetLastControlStyle

(
    const FCheckBoxStyle& InStyle
)

Public function

FSegmentedCo...

 

SetUniformPadding

(
    const FMargin& InMargin
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName