void UpdatePseudoClass(AuraTabItem item, AvaloniaPropertyChangedEventArgs e) { if (item.IsSelected == false) { item.PseudoClasses.Remove(":dragging"); } }
/// <summary> /// Add a <see cref="AuraTabItem"/> /// </summary> /// <param name="ItemToAdd">The Item to Add</param> /// <param name="isSelected"></param> public void AddTab(AuraTabItem ItemToAdd, bool isSelected = true) { TabControlExtensions.AddTab(this, ItemToAdd, isSelected); }