Class CanvasPanel
The canvas panel is a designer friendly panel that allows widgets to be laid out at arbitrary locations, anchored and z-ordered with other children of the canvas.
Inherited Members
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 CanvasPanel : PanelWidget
Remarks
The canvas is a great widget for manual layout, but bad when you want to procedurally just generate widgets and place them in a container (unless you want absolute layout).
- Many Children
- Absolute Layout
- Anchors
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static CanvasPanel DefaultObject { get; }
Property Value
Type | Description |
---|---|
CanvasPanel |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceAddChildToCanvas(Widget)
Add Child to Canvas
Declaration
public CanvasPanelSlot AddChildToCanvas(Widget Content)
Parameters
Type | Name | Description |
---|---|---|
Widget | Content |
Returns
Type | Description |
---|---|
CanvasPanelSlot |
New(UObject, Name)
Spawn an object of this class
Declaration
public static CanvasPanel New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
CanvasPanel |
Operators
| Improve this Doc View SourceImplicit(IntPtr to CanvasPanel)
Convert from IntPtr to UObject
Declaration
public static implicit operator CanvasPanel(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
CanvasPanel |