1
下のツールバーのテキストの右側にある灰色のドロップダウン領域を削除するにはどうすればよいですか?ここでWPF ToolBarTrayのドロップダウンアイコンを削除するには?
alt text http://i34.tinypic.com/259a8op.jpg
それを生成したコードです:
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);
例は示されていません。答えは怠惰で、不完全で、このサイトには適していません。したがって、私のdownvote。 – Krythic