ISlateStyle::GetMargin

Windows
MacOS
Linux

Override Hierarchy

ISlateStyle::GetMargin()

FSlateStyleSet::GetMargin()

References

Module

SlateCore

Header

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

Include

#include "Styling/ISlateStyle.h"

Syntax

const FMargin & GetMargin
(
    const FName PropertyName,
    const ANSICHAR * Specifier,
    const FMargin & DefaultValue
) const

Returns

a FMargin property.

Parameters

Parameter

Description

PropertyName

Name of the property to get

Specifier

An optional string to append to the property name

DefaultValue

The default value to return if the property cannot be found

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss