Questions tagged [dockpanel]

Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

224 questions
0
votes
1 answer

What is the logic of DockPanel & DockLayoutPanel in GWT? I'm confused

look at this DockPanel http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDockPanel & it's code: dock.add(new HTML(constants.cwDockPanelNorth1()), DockPanel.NORTH); dock.add(new HTML(constants.cwDockPanelSouth1()),…
Kiti
  • 543
  • 7
  • 18
0
votes
1 answer

Auto-sizing multiple TextBox(es) within a DockPanel

I was hoping someone could help me out here. I have 2 textboxes and a button within a dockpanel and I would like to get the 2 textboxes to stretch and shrink based on window size. I have a dockpanel which contains a bunch of menu buttons on the…
AndySousa
  • 1,062
  • 2
  • 15
  • 30
0
votes
2 answers

Programmatically Replacing Last Child in a WPF DockPanel with LastChildFill true

When LastChildFill property of a DockPanel is set true, the last child added occupies the entire unused space. That works well, until I had to programmatically replace the last child: UIElementCollection children = myDockPanel.Children; UIElement…
x.martian
  • 1
  • 1
0
votes
1 answer

Autosizing controls in XAML to fit a stack panel / dock panel, where the middle control is what needs to fill the space

How can I create this... command http://img841.imageshack.us/img841/2631/46lc.jpg in WPF. I've read alot of other questions on using stack panel vs dock panel but can't seem to recreate what I want. This is what I currently have.. command2…
William Moore
  • 246
  • 2
  • 16
0
votes
1 answer

WPF C# DockPanel alignment , content got cut off

I have a few information that i want to display inside the DockPanel but , it goes out of line in the DockPanel and some text got cut off like this : i populate them in code behind , how do i set the dockpanel alignment such that the whole content…
user2376998
  • 1,061
  • 7
  • 32
  • 65
0
votes
2 answers

ListBox with DockPanel Alignment

I have a listbox in which I pass 5 items in each row. Xml file: