title: WPF TextBlock TextTrimming Not Working Inside a Grid With GridSplitter
body: <p>I have the following structure in my XAML code:</p>
  <pre><code> &lt;Grid&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width=&quot;200&quot; MinWidth=&quot;200&quot;/&gt;
              &lt;ColumnDefinition Width=&quot;Auto&quot;/&gt;
              &lt;ColumnDefinition Width=&quot;*&quot; MinWidth=&quot;100&quot;/&gt;
              &lt;ColumnDefinition Width=&quot;Auto&quot;/&gt;
              &lt;ColumnDefinition Width=&quot;Auto&quot; MinWidth=&quot;150&quot;/&gt;
          &lt;/Grid.ColumnDefinitions&gt;           
          &lt;ListBox ItemsSource=&quot;{Binding MessagesCollectionView}&quot; Margin=&quot;0&quot;&gt;
              &lt;ListBox.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;StackPanel Orientation=&quot;Vertical&quot;&gt;
                          &lt;Label Foreground=&quot;Black&quot; FontSize=&quot;14&quot;&gt;
                              &lt;TextBlock Text=&quot;{Binding Title}&quot; TextTrimming=&quot;CharacterEllipsis&quot;/&gt;
                          &lt;/Label&gt;
                          &lt;Label Foreground=&quot;Gray&quot; FontSize=&quot;12&quot;&gt;
                              &lt;TextBlock Text=&quot;{Binding Content}&quot; TextTrimming=&quot;CharacterEllipsis&quot;/&gt;
                          &lt;/Label&gt;
                      &lt;/StackPanel&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListBox.ItemTemplate&gt;
          &lt;/ListBox&gt;
          &lt;GridSplitter Width=&quot;5&quot; Grid.Column=&quot;1&quot; HorizontalAlignment=&quot;Stretch&quot;/&gt;
  &lt;!--More stuff here......--&gt;
  </code></pre>
  <p>I made the XAML code short here or it just clutter the whole question. I have 5 columns, on this order, left to right: <code>ListBox</code>, <code>GridSplitter</code>, <code>RichTextBox</code>, <code>GridSplitter</code>, <code>ListView</code>. I am just showing the first two columns since the rest is just about the same.</p>
  <p>When I load my program the <code>TextBoxes</code> aren't showing any Ellipsis, never. I even tried giving the <code>ListBox</code> a fixed size.</p>
  <p><strong>Does anyone knows how to fix Ellipsis to be shown?</strong> I believe this might be involved on how the controls inside a <code>Grid</code> are informed about their sizes when there is a <code>GridSplitter</code>.</p>
  <p>I am aiming for a UI where the middle view has a <code>* width</code> and the left and right ones are fixed size at first but can be stretched if the user wants to.</p>
  <hr />
  <h2>EDIT:</h2>
  <h1>This is what I want:</h1>
  <p><a href="https://i.stack.imgur.com/oRaQz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oRaQz.png" alt="Text with Ellipsis" /></a></p>
  <h1>This is what I am getting:</h1>
  <p><a href="https://i.stack.imgur.com/OiGRG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OiGRG.png" alt="Text without Ellipsis" /></a></p>