Table of Contents

Class LayoutPanel

Namespace
HeBianGu.Control.Dock.Layout
Assembly
HeBianGu.Control.Dock.dll

Implements the layout model for the LayoutPanelControl.

[Serializable]
public class LayoutPanel : LayoutPositionableGroup<ILayoutPanelElement>, IXmlSerializable, ILayoutPanelElement, ILayoutOrientableGroup, ILayoutGroup, ILayoutContainer, ILayoutElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
LayoutPanel
Implements
Inherited Members
Extension Methods

Constructors

LayoutPanel()

Class constructor

public LayoutPanel()

LayoutPanel(ILayoutPanelElement)

Class constructor

public LayoutPanel(ILayoutPanelElement firstChild)

Parameters

firstChild ILayoutPanelElement

Fields

CanDockProperty

Using a DependencyProperty as the backing store for thhe CanDock property.

public static readonly DependencyProperty CanDockProperty

Field Value

DependencyProperty

Properties

CanDock

Gets/sets dependency property that determines whether docking of dragged items is enabled or not. This property can be used disable/enable docking of dragged FloatingWindowControls.

This property should only be set to false if: CanMove and CanMove are false since users will otherwise be able to:

  1. Drag an item away
  2. But won't be able to dock it agin.
public bool CanDock { get; set; }

Property Value

bool

Orientation

Gets/sets the orientation for this panel.

public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ConsoleDump(int)

public override void ConsoleDump(int tab)

Parameters

tab int

GetVisibility()

protected override bool GetVisibility()

Returns

bool

ReadXml(XmlReader)

provides a standard overridable implementation for deriving classes.

public override void ReadXml(XmlReader reader)

Parameters

reader XmlReader

WriteXml(XmlWriter)

provides a standard overridable implementation for deriving classes.

public override void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter