Top "Stackpanel" questions

A WPF component for displaying a list of elements in a horizontal or vertical stack.

Align items in a stack panel?

I was wondering if I can have 2 controls in a horizontal-oriented StackPanel so that the right item should be docked …

wpf layout wpf-controls stackpanel alignment
How do I space out the child elements of a StackPanel?

Given a StackPanel: <StackPanel> <TextBox Height="30">Apple</TextBox> <TextBox Height="80">Banana</…

wpf silverlight xaml stackpanel
Set a border around a StackPanel.

Here's my XAML code: <Window x:Class="CarFinder.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="…

wpf orientation stackpanel
How to add a ScrollBar to a Stackpanel

In my WPF application, I have a Stackpanel containing several controls inside them. How can I add a Scrollbar to …

c# wpf xaml stackpanel scrollbars
How can I get ScrollViewer to work inside a StackPanel?

In the following WPF XAML the ScrollViewer does not work (it displays a scroll bar but you cannot scroll and …

wpf xaml scrollviewer stackpanel
Aligning controls on both left and right side in a stack panel in WPF

I have the following code: <DockPanel> <StackPanel DockPanel.Dock="Top" Orientation="Horizontal"> <RadioButton Content="_Programs" …

wpf xaml layout alignment stackpanel
Let TextBox stretch to fill width in StackPanel

I have a StackPanel in my WinRT C# Metro app that I want to use as container for a label/…

xaml textbox windows-runtime microsoft-metro stackpanel
Padding on StackPanel?

I am trying to set padding of a StackPanel but there ain't such property. I tried StackPanel.Border, but there …

wpf xaml layout padding stackpanel
Silverlight: stretching to remaining space in StackPanel

I have a vertical StackPanel with two elements: a Button and a ListBox. How can I have the ListBox stretch …

silverlight stackpanel
WPF Databinding stackpanel

Im a beginner in WPF programming, coming from .NET 2.0 C#. Im trying to make a horizontal StackPanel which should be …

c# wpf data-binding stackpanel