Class Container
Container element for grouping UI elements with layout support
Implements
Inherited Members
Namespace: PopcorningGuineaPig.Engine.UI
Assembly: PopcorningGuineaPig.Engine.dll
Syntax
public class Container : UIElementBase, IUIElement
Properties
| Edit this page View SourceLayout
Declaration
public ContainerLayout Layout { get; set; }
Property Value
| Type | Description |
|---|---|
| ContainerLayout |
Padding
Declaration
public Vector2 Padding { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 |
Spacing
Declaration
public float Spacing { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
| Edit this page View SourceDrawSelf()
Override to implement element-specific drawing logic
Declaration
protected override void DrawSelf()
Overrides
| Edit this page View SourceUpdateSelf()
Override to implement element-specific update logic
Declaration
protected override void UpdateSelf()