Каков правильный способ добавления вкладки кнопки "+" в конце всех элементов табуляции в полосе вкладок элемента управления вкладкой в WPF?
- Он должен корректно работать с несколькими строками заголовка вкладок.
- Он должен быть в конце всех элементов табуляции
- Включение табуляции должно работать правильно (Alt + Tab), то есть вкладка
+
должна быть пропущена. - Мне не нужно изменять исходную коллекцию, к которой я привязываюсь. То есть, контроль должен быть повторно использован.
- Решение должно работать с MVVM
Чтобы быть более точным, кнопка должна отображаться точно как дополнительная последняя вкладка, а не как отдельная кнопка где-то справа от всех строк полосы вкладок.
Я просто ищу общий подход к этому.
Google предлагает множество примеров, но если вы копаете немного глубоко, никто из них не удовлетворяет всем вышеперечисленным пяти пунктам.