dockpanel

How programmatically dock new element to DockPanel

How programmatically create an element based on UserControl and dock it to the DockPanel? ...

How can I get Silverlight 4 Tools to work in Web Developer 2010 Express?

I installed Windows 7. I then installed Web Developer 2010 Express from here with the Web Platform Installer. I then installed the the April 15 release of Silverlight 4 Toolkit from here. I then added this reference: Then in my XAML, I reference it like this but it gives me no intellisense and tells me that I am missing an assembly...

Dock Panel component for .NET that allows docking inside tab-pages?

I want to build a user-interface that, for historical reasons, has a lot of "columns" of information. Many of these aren't relevant for all users in all cases, so I thought I'd look at dock panels to allow the users to hide or rearrange the columns according to their job scenario. This is Winforms in .NET 3.5. As such, I'd like the fol...

DockPanel Tab Order

I have a DockPanel set up in the DataTemplate of an ItemsControl as below: <ItemsControl HorizontalContentAlignment="Stretch"> <ItemsControl.ItemTemplate> <DataTemplate> <DockPanel> <ComboBox DockPanel.Dock="Left"/> <ComboBox DockPanel.Dock="Left"/> <Button DockPanel.Dock="Right">Button</Button> ...

WPF Dockpanel first child uses remaining space

In a window I have there is a list of DockPanels to specify a couple of files. Each DockPanel has a TextBox (for the path) and a button (to browse for a file). I've recreated a simple WPF page to demostrate the problem here: <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof...

DockPanel ItemsControl lastchild fill

I have a dockpanel that I dynamically fill using an ItemsControl to populate the panel. The dockpanel needs the last child from the itemscontrol list to fill the rest of the panel, but it doesn't seem to happen if I populate it in this fashion... what can I do to get that last item to expand? snippet of how I have it set up: (note I se...

WPF4 TabControl/Grid in a DockPanel is hiding StatusBar

I have a window filled with a DockPanel containing 3 elements, a MenuBar docked at the top, a StatusBar docked at the bottom and a TabControl filling the body. At least, I would like the TabControl to fill the body. In the visual designer, the TabControl and StatusBar are laid out side by side instead of top & bottom. When I run the...

WPF: Align last TWO controls in StackPanel/DockPanel on the very right side

Thats my code so far which does not work: <DockPanel > <Button Content="Start" Command="{Binding Path=FirstDateCommand}" /> <Button Content="Back" Command="{Binding Path=PreviousDateCommand}" /> <DatePicker Width="150" SelectedDate="{Binding Path=SelectedDate}" ...