Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SSegmentedControl
| Name | FSegmentedControlStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SegmentedControlStyle.h |
| Include Path | #include "Styling/SegmentedControlStyle.h" |
Syntax
USTRUCT (BlueprintType )
struct FSegmentedControlStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FSegmentedControlStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSegmentedControlStyle() |
Styling/SegmentedControlStyle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSegmentedControlStyle() |
Styling/SegmentedControlStyle.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SegmentedControlStyle.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundBrush | FSlateBrush | Background of the segmented control | Styling/SegmentedControlStyle.h |
|
| ControlStyle | FCheckBoxStyle | The style to use for our Center Control | Styling/SegmentedControlStyle.h |
|
| FirstControlStyle | FCheckBoxStyle | The style to use for our Left Control | Styling/SegmentedControlStyle.h |
|
| LastControlStyle | FCheckBoxStyle | The style to use for our Left Control | Styling/SegmentedControlStyle.h |
|
| UniformPadding | FMargin | Padding between each control | Styling/SegmentedControlStyle.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSegmentedControlStyle & SetBackgroundBrush
(
const FSlateBrush& InBrush |
Styling/SegmentedControlStyle.h | ||
FSegmentedControlStyle & SetControlStyle
(
const FCheckBoxStyle& InStyle |
Styling/SegmentedControlStyle.h | ||
FSegmentedControlStyle & SetFirstControlStyle
(
const FCheckBoxStyle& InStyle |
Styling/SegmentedControlStyle.h | ||
FSegmentedControlStyle & SetLastControlStyle
(
const FCheckBoxStyle& InStyle |
Styling/SegmentedControlStyle.h | ||
FSegmentedControlStyle & SetUniformPadding
(
const FMargin& InMargin |
Styling/SegmentedControlStyle.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SegmentedControlStyle.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/SegmentedControlStyle.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SegmentedControlStyle.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FSegmentedControlStyle & GetDefault() |
Styling/SegmentedControlStyle.h |