Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个选项卡控件,我动态插入选项卡。我想获取选项卡项的标题名称以检查重复项。我怎样才能做到这一点?
var headers = tabControl.Items.Cast<TabItem>().Select(x => x.Header);