我有一个tabcontrol绑定了可观察列表。 Eveything看起来是完美的,直到我选择一个标签。选定后,选项卡不会失去焦点,选定的选项卡不可用。它们不是输出窗口中的任何消息。 这里是一个截屏只需点击选项卡之前: alt text http://clip2net.com/clip/m12122/1248637342-clip-5kb.png 这里是后一个屏幕截图(的问题): alt text
我做了所谓的SmartTabItem一个自定义的控制,目前只是默认的实现: using System.Windows;
using System.Windows.Controls;
namespace TestControl.Controls
{
public class SmartTabItem : TabItem
{
static SmartTabIte