Class DockPane
- Namespace
- Forma
- Assembly
- Forma.dll
A tabbed group of dock sections. Accepts dropped sections and reports which DockZone the pointer is over so the workspace can either merge the section in as a tab or split this pane.
public sealed class DockPane : Container, IAddChild<Control>, IAddChild, INotifyPropertyChanged
- Inheritance
-
DockPane
- Implements
- Inherited Members
Constructors
DockPane()
public DockPane()
Properties
ActiveSection
public DockSection ActiveSection { get; }
Property Value
Sections
public IReadOnlyList<DockSection> Sections { get; }
Property Value
Methods
Activate(int)
public void Activate(int index)
Parameters
indexint
Add(DockSection)
public void Add(DockSection section)
Parameters
sectionDockSection
ArrangeChildren()
protected override void ArrangeChildren()
CanDropData(Point, object)
Returns whether this control accepts the supplied data at the screen position.
public override bool CanDropData(Point position, object data)
Parameters
positionPointdataobject
Returns
DropData(Point, object)
Receives data accepted by CanDropData(Point, object).
public override void DropData(Point position, object data)
Parameters
positionPointdataobject
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2
Remove(DockSection)
public bool Remove(DockSection section)
Parameters
sectionDockSection