Class FoldableContainer
- Namespace
- Forma
- Assembly
- Forma.dll
Collapsible vertically arranged section used by inspector-style interfaces.
public sealed class FoldableContainer : TemplatedControl, IAddChild<Control>, IAddChild, INotifyPropertyChanged, IDisposable
- Inheritance
-
FoldableContainer
- Implements
- Inherited Members
Constructors
FoldableContainer()
public FoldableContainer()
Properties
AccessibilityActions
public override AccessibilityActions AccessibilityActions { get; }
Property Value
AccessibilityName
public override string AccessibilityName { get; }
Property Value
AccessibilityRole
public override AccessibilityRole AccessibilityRole { get; }
Property Value
AccessibilityStates
public override AccessibilityStates AccessibilityStates { get; }
Property Value
FoldableGroup
Assigns the accordion group this container participates in, matching Godot's set_foldable_group.
public FoldableGroup FoldableGroup { get; set; }
Property Value
Folded
public bool Folded { get; set; }
Property Value
HeaderHeight
public float HeaderHeight { get; set; }
Property Value
Title
public string Title { get; set; }
Property Value
Methods
ArrangeChildren()
protected override void ArrangeChildren()
Expand()
public void Expand()
Fold()
public void Fold()
GetFoldableGroup()
public FoldableGroup GetFoldableGroup()
Returns
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2
SetFoldableGroup(FoldableGroup)
public void SetFoldableGroup(FoldableGroup group)
Parameters
groupFoldableGroup
Events
FoldedChanged
public event Action<FoldableContainer, bool> FoldedChanged