Show / Hide Table of Contents

Class PanelWidget

The base class for all UMG panel widgets. Panel widgets layout a collection of child widgets.

Inheritance
System.Object
UObject
Visual
Widget
PanelWidget
CanvasPanel
ContentWidget
GridPanel
HorizontalBox
Overlay
ScrollBox
UniformGridPanel
VerticalBox
WidgetSwitcher
WrapBox
Inherited Members
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 PanelWidget : Widget

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

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

Slots

The slots in the widget holding the child widgets of this panel.

Declaration
public ObjectArrayField<PanelSlot> Slots { get; }
Property Value
Type Description
ObjectArrayField<PanelSlot>
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

AddChild(Widget)

Adds a new child widget to the container.

Declaration
public PanelSlot AddChild(Widget Content)
Parameters
Type Name Description
Widget Content
Returns
Type Description
PanelSlot
Remarks

Returns the base slot type, requires casting to turn it into the type specific to the container.

| Improve this Doc View Source

ClearChildren()

Remove all child widgets from the panel widget.

Declaration
public void ClearChildren()
| Improve this Doc View Source

GetChildAt(Int32)

Gets the widget at an index.

Declaration
public Widget GetChildAt(int Index)
Parameters
Type Name Description
System.Int32 Index
Returns
Type Description
Widget
Remarks

@param Index The index of the widget. @return The widget at the given index, or nothing if there is no widget there.

| Improve this Doc View Source

GetChildIndex(Widget)

Gets the index of a specific child widget

Declaration
public int GetChildIndex(Widget Content)
Parameters
Type Name Description
Widget Content
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetChildrenCount()

Gets number of child widgets in the container.

Declaration
public int GetChildrenCount()
Returns
Type Description
System.Int32
| Improve this Doc View Source

HasAnyChildren()

@return true if there are any child widgets in the panel

Declaration
public bool HasAnyChildren()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasChild(Widget)

@return true if panel contains this widget

Declaration
public bool HasChild(Widget Content)
Parameters
Type Name Description
Widget Content
Returns
Type Description
System.Boolean
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

RemoveChild(Widget)

Removes a specific widget from the container.

Declaration
public bool RemoveChild(Widget Content)
Parameters
Type Name Description
Widget Content
Returns
Type Description
System.Boolean
Remarks

@return true if the widget was found and removed.

| Improve this Doc View Source

RemoveChildAt(Int32)

Removes a child by it's index.

Declaration
public bool RemoveChildAt(int Index)
Parameters
Type Name Description
System.Int32 Index
Returns
Type Description
System.Boolean

Operators

| Improve this Doc View Source

Implicit(IntPtr to PanelWidget)

Convert from IntPtr to UObject

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