using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Media;
public class MeetTheDockers : Window
{
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new MeetTheDockers());
}
public MeetTheDockers()
{
DockPanel dock = new DockPanel();
Content = dock;
ListBox lstbox = new ListBox();
lstbox.Items.Add("List Box Item");
DockPanel.SetDock(lstbox, Dock.Left);
dock.Children.Add(lstbox);
}
}