Overview

Namespace: TheTechIdea.Beep.Winform.Controls.Design.Server.Docking.ActionLists
Inheritance: System.ComponentModel.Design.DesignerActionList | Visibility: internal sealed

DockPanelActionList provides the smart-tag for individual DockPanel components in the docking designer. It exposes 7 properties grouped in Docking and Behaviour categories, plus 9 quick-action methods for docking and stacking operations at design time.

Smart-Tag Properties (7)

PropertyTypeCategoryDescription
TitlestringDockingDisplay title shown in the panel tab/caption
DockPositionDockPositionDockingEdge: Left, Right, Top, Bottom, Fill
PreferredWidthintDockingWidth when docked Left or Right
PreferredHeightintDockingHeight when docked Top or Bottom
CanCloseboolBehaviourShow close button on caption
CanFloatboolBehaviourAllow tear-off to floating window
CanAutoHideboolBehaviourAllow auto-hide to edge tab strip

All property setters delegate to _designer.SetPanelProperty(...) for change-notification-aware writes.

Quick Actions (9)

ActionMethodEffect
Dock LeftDockLeft()Move panel to left edge via MovePanel(DockPosition.Left)
Dock RightDockRight()Move panel to right edge
Dock TopDockTop()Move panel to top edge
Dock BottomDockBottom()Move panel to bottom edge
Dock FillDockFill()Expand panel to fill remaining space
Stack with PreviousStackWithPrevious()Group panel with previous sibling as tabs
Stack with NextStackWithNext()Group panel with next sibling as tabs
Move EarlierMoveEarlier()Move panel earlier in its tab stack
Move LaterMoveLater()Move panel later in its tab stack

Smart-Tag Sections (3)

SectionItems
DockingTitle, DockPosition, PreferredWidth, PreferredHeight (4 properties)
BehaviourCanClose, CanFloat, CanAutoHide (3 properties)
ActionsDockLeft, DockRight, DockTop, DockBottom, DockFill, StackWithPrevious, StackWithNext, MoveEarlier, MoveLater (9 actions)

Examples

// At design time, use smart-tag:
// Smart-tag > Behaviour > CanFloat = false
// Smart-tag > Actions > "Dock Right"
// Smart-tag > Docking > Title = "Properties"

// Equivalent at runtime:
var panel = new DockPanel();
panel.Title = "Properties";
panel.DockPosition = DockPosition.Right;
panel.PreferredWidth = 300;
panel.CanClose = true;
panel.CanFloat = false;
panel.CanAutoHide = true;
manager.AddPanel(panel, DockPosition.Right);