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

DockSection

Sections

public IReadOnlyList<DockSection> Sections { get; }

Property Value

IReadOnlyList<DockSection>

Methods

Activate(int)

public void Activate(int index)

Parameters

index int

Add(DockSection)

public void Add(DockSection section)

Parameters

section DockSection

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

position Point
data object

Returns

bool

DropData(Point, object)

Receives data accepted by CanDropData(Point, object).

public override void DropData(Point position, object data)

Parameters

position Point
data object

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2

Remove(DockSection)

public bool Remove(DockSection section)

Parameters

section DockSection

Returns

bool