title: Disappearing controls in WPF
body: <p>I have the an existing WPF xaml layout to which I added a stackview with a label and button. However, after adding it, the "columns" and "Layout columns" treeviews disappear when running the application. Here is the xaml for the form:</p>
  
  <pre><code>&lt;UserControl xmlns:my="clr-namespace:MyNamespace.Controls.LayoutEditors.OrderableList"  x:Class="MyNamespace.Controls.LayoutEditors.LayoutColumnsEditor"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
           mc:Ignorable="d" 
           d:DesignHeight="832" d:DesignWidth="595"
           &gt;
  &lt;Grid Name="Grid"&gt;
      &lt;Grid&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="110" /&gt;
              &lt;RowDefinition Height="5" /&gt;                
          &lt;/Grid.RowDefinitions&gt;
          &lt;Grid Name="gridLabels"&gt;
              &lt;StackPanel Orientation="Vertical"&gt;
                  &lt;Label Style="{StaticResource SubHeaderLabel}" Content="Properties" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" /&gt;
                  &lt;StackPanel Margin="0 5"  Orientation="Horizontal"&gt;
                      &lt;Label Content="Layout Name:" HorizontalContentAlignment="Right" Width="120"  /&gt;
                      &lt;TextBox Width="488" HorizontalAlignment="Left" VerticalAlignment="Top" Name="EditLayoutName" LostKeyboardFocus="TextBoxLayoutNameLostFocus" MaxLength="50" /&gt;
                  &lt;/StackPanel&gt;
                  &lt;StackPanel Orientation="Horizontal"&gt;
                      &lt;Label Content="Description:" HorizontalContentAlignment="Right" Width="120" /&gt;
                      &lt;TextBox Height="50" Name="EditDescription" VerticalScrollBarVisibility="Auto"  Width="483" TextWrapping="WrapWithOverflow" HorizontalScrollBarVisibility="Auto" /&gt;
                  &lt;/StackPanel&gt;
                  &lt;StackPanel Orientation="Horizontal" &gt;
                      &lt;Label Content="Search for Columns:" HorizontalContentAlignment="Right" Width="120"&gt;&lt;/Label&gt;
                      &lt;TextBox Height="50" Name="txtColumnName" Width="200" TextWrapping="NoWrap" HorizontalScrollBarVisibility="Hidden" TextChanged="txtColumnName_TextChanged"&gt;&lt;/TextBox&gt;
                  &lt;/StackPanel&gt;
              &lt;/StackPanel&gt;
          &lt;/Grid&gt;
      &lt;/Grid&gt;
      &lt;Grid Grid.Row="2" Name="gridColumns"&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="300" MinWidth="40" /&gt;
              &lt;ColumnDefinition Width="7" /&gt;
              &lt;ColumnDefinition MinWidth="40" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Grid Background="White"&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="20" /&gt;
                  &lt;RowDefinition /&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;Label Grid.Row="0" Content="Columns:" Height="21" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" Name="labelColumns" VerticalAlignment="Top" Style="{StaticResource SubHeaderLabel}" /&gt;
              &lt;telerik:RadTreeView Background="White" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" FontSize="11" Grid.Row="1" Name="TreeColumns" HorizontalAlignment="Stretch" IsDragDropEnabled="False" IsTextSearchEnabled="True" ItemDoubleClick="TreeColumnsItemDoubleClick" IsEditable="True" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" /&gt;
          &lt;/Grid&gt;
          &lt;GridSplitter Grid.Column="1" HorizontalAlignment="Left" Name="gridSpiliter" Width="7" Background="#FF4D6798" VerticalAlignment="Stretch" ResizeDirection="Columns" BorderBrush="#FF021E4B" BorderThickness="1" /&gt;
          &lt;Grid Grid.Column="2" Name="TileViewGrid" MinWidth="40"&gt;
              &lt;Grid.ColumnDefinitions&gt;
                  &lt;ColumnDefinition Width="174*" /&gt;
                  &lt;ColumnDefinition Width="114*" /&gt;
              &lt;/Grid.ColumnDefinitions&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="20" /&gt;
                  &lt;RowDefinition /&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;Label Content="Layout Columns:" Height="21" Name="labelLauoutColumns" VerticalAlignment="Top" HorizontalContentAlignment="Left" HorizontalAlignment="Stretch" Style="{StaticResource SubHeaderLabel}" Grid.RowSpan="2" Grid.ColumnSpan="2" /&gt;
              &lt;ScrollViewer Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" VerticalScrollBarVisibility="Auto" Grid.ColumnSpan="2"&gt;
                  &lt;my:OrderableList x:Name="ListLayoutColumns" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="White" /&gt;
              &lt;/ScrollViewer&gt;
          &lt;/Grid&gt;
      &lt;/Grid&gt;
  &lt;/Grid&gt;
   &lt;/UserControl&gt;
  </code></pre>