title: How to remove the dropdown icon on a WPF ToolBarTray?
body: <p>How can I get rid of the grey dropdown area to the right of the text in the toolbar item below?</p>
  
  <p><a href="https://i.stack.imgur.com/B4MDw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B4MDw.jpg" alt="alt text"></a>
  </p>
  
  <p>Here is the code which produces it:</p>
  
  <pre><code>ToolBar tb = new ToolBar();
  tb.Background = new SolidColorBrush(Colors.Transparent);
  Button button = new Button();
  button.Content = "test";
  button.Click += new RoutedEventHandler(button_Click);
  tb.Items.Add(button);
  value.ToolBars.Add(tb);
  </code></pre>