Show / Hide Table of Contents

Class Border

A border is a container widget that can contain one child widget, providing an opportunity to surround it with a background image and adjustable padding.

Inheritance
System.Object
UObject
Visual
Widget
PanelWidget
ContentWidget
Border
Inherited Members
ContentWidget.GetContent()
ContentWidget.GetContentSlot()
ContentWidget.SetContent(Widget)
PanelWidget.AddChild(Widget)
PanelWidget.ClearChildren()
PanelWidget.GetChildAt(Int32)
PanelWidget.GetChildIndex(Widget)
PanelWidget.GetChildrenCount()
PanelWidget.HasAnyChildren()
PanelWidget.HasChild(Widget)
PanelWidget.RemoveChild(Widget)
PanelWidget.RemoveChildAt(Int32)
PanelWidget.Slots
Widget.ForceLayoutPrepass()
Widget.ForceVolatile(Boolean)
Widget.GetCachedGeometry(Geometry)
Widget.GetClipping()
Widget.GetDesiredSize()
Widget.GetIsEnabled()
Widget.GetOwningLocalPlayer()
Widget.GetOwningPlayer()
Widget.GetParent()
Widget.GetRenderOpacity()
Widget.GetVisibility()
Widget.HasAnyUserFocus()
Widget.HasFocusedDescendants()
Widget.HasKeyboardFocus()
Widget.HasMouseCapture()
Widget.HasMouseCaptureByUser(Int32, Int32)
Widget.HasUserFocus(PlayerController)
Widget.HasUserFocusedDescendants(PlayerController)
Widget.InvalidateLayoutAndVolatility()
Widget.IsHovered()
Widget.IsVisible()
Widget.RemoveFromParent()
Widget.ResetCursor()
Widget.SetAllNavigationRules(EUINavigationRule, Name)
Widget.SetClipping(EWidgetClipping)
Widget.SetCursor(Byte)
Widget.SetIsEnabled(Boolean)
Widget.SetKeyboardFocus()
Widget.SetNavigationRule(EUINavigation, EUINavigationRule, Name)
Widget.SetRenderAngle(Single)
Widget.SetRenderOpacity(Single)
Widget.SetRenderScale(Vector2D)
Widget.SetRenderShear(Vector2D)
Widget.SetRenderTransform(WidgetTransform)
Widget.SetRenderTransformPivot(Vector2D)
Widget.SetRenderTranslation(Vector2D)
Widget.SetToolTip(Widget)
Widget.SetToolTipText(Byte)
Widget.SetUserFocus(PlayerController)
Widget.SetVisibility(ESlateVisibility)
Widget.Slot
Widget.ToolTipWidget
Widget.RenderTransform
Widget.RenderTransformPivot
Widget.bIsVariable
Widget.bCreatedByConstructionScript
Widget.bIsEnabled
Widget.bOverride_Cursor
Widget.bIsVolatile
Widget.bHiddenInDesigner
Widget.bExpandedInDesigner
Widget.bLockedInDesigner
Widget.Cursor
Widget.RenderOpacity
Widget.Navigation
Widget.NativeBindings
Widget.DesignerFlags
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class Border : ContentWidget
Remarks
  • Single Child
  • Image

Properties

| Improve this Doc View Source

Background

Brush to drag as the background

Declaration
public SlateBrush Background { get; }
Property Value
Type Description
SlateBrush
| Improve this Doc View Source

BrushColor

Color and opacity of the actual border image

Declaration
public LinearColor BrushColor { get; }
Property Value
Type Description
LinearColor
| Improve this Doc View Source

bShowEffectWhenDisabled

Declaration
public bool bShowEffectWhenDisabled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ContentColorAndOpacity

Color and opacity multiplier of content in the border

Declaration
public LinearColor ContentColorAndOpacity { get; }
Property Value
Type Description
LinearColor
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static Border DefaultObject { get; }
Property Value
Type Description
Border
| Improve this Doc View Source

DesiredSizeScale

Scales the computed desired size of this border and its contents.

Declaration
public Vector2D DesiredSizeScale { get; }
Property Value
Type Description
Vector2D
Remarks

Useful for making things that slide open without having to hard-code their size. Note: if the parent widget is set up to ignore this widget's desired size, then changing this value will have no effect.

| Improve this Doc View Source

HorizontalAlignment

The alignment of the content horizontally.

Declaration
public byte HorizontalAlignment { get; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

Padding

The padding area between the slot and the content it contains.

Declaration
public Margin Padding { get; }
Property Value
Type Description
Margin
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| Improve this Doc View Source

VerticalAlignment

The alignment of the content vertically.

Declaration
public byte VerticalAlignment { get; }
Property Value
Type Description
System.Byte

Methods

| Improve this Doc View Source

GetDynamicMaterial()

Get Dynamic Material

Declaration
public MaterialInstanceDynamic GetDynamicMaterial()
Returns
Type Description
MaterialInstanceDynamic
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static Border New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
Border
| Improve this Doc View Source

SetBrush(SlateBrush)

Set Brush

Declaration
public void SetBrush(SlateBrush InBrush)
Parameters
Type Name Description
SlateBrush InBrush
| Improve this Doc View Source

SetBrushColor(LinearColor)

Set Brush Color

Declaration
public void SetBrushColor(LinearColor InBrushColor)
Parameters
Type Name Description
LinearColor InBrushColor
| Improve this Doc View Source

SetBrushFromAsset(SlateBrushAsset)

Set Brush from Asset

Declaration
public void SetBrushFromAsset(SlateBrushAsset Asset)
Parameters
Type Name Description
SlateBrushAsset Asset
| Improve this Doc View Source

SetBrushFromMaterial(MaterialInterface)

Set Brush from Material

Declaration
public void SetBrushFromMaterial(MaterialInterface Material)
Parameters
Type Name Description
MaterialInterface Material
| Improve this Doc View Source

SetBrushFromTexture(Texture2D)

Set Brush from Texture

Declaration
public void SetBrushFromTexture(Texture2D Texture)
Parameters
Type Name Description
Texture2D Texture
| Improve this Doc View Source

SetContentColorAndOpacity(LinearColor)

Set Content Color and Opacity

Declaration
public void SetContentColorAndOpacity(LinearColor InContentColorAndOpacity)
Parameters
Type Name Description
LinearColor InContentColorAndOpacity
| Improve this Doc View Source

SetDesiredSizeScale(Vector2D)

Sets the DesireSizeScale of this border.

Declaration
public void SetDesiredSizeScale(Vector2D InScale)
Parameters
Type Name Description
Vector2D InScale
Remarks

@param InScale The X and Y multipliers for the desired size

| Improve this Doc View Source

SetHorizontalAlignment(Byte)

Set Horizontal Alignment

Declaration
public void SetHorizontalAlignment(byte InHorizontalAlignment)
Parameters
Type Name Description
System.Byte InHorizontalAlignment
| Improve this Doc View Source

SetPadding(Margin)

Set Padding

Declaration
public void SetPadding(Margin InPadding)
Parameters
Type Name Description
Margin InPadding
| Improve this Doc View Source

SetVerticalAlignment(Byte)

Set Vertical Alignment

Declaration
public void SetVerticalAlignment(byte InVerticalAlignment)
Parameters
Type Name Description
System.Byte InVerticalAlignment

Operators

| Improve this Doc View Source

Implicit(IntPtr to Border)

Convert from IntPtr to UObject

Declaration
public static implicit operator Border(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
Border
  • Improve this Doc
  • View Source
Back to top Generated by DocFX