BindingOperations.SetBinding(TabItem,HeaderProperty,new Binding("HeadContent"));
三个参数, 1,控件对象,2控件对象要绑定的属性,3绑定源