예제 #1
0
 void UpdatePseudoClass(AuraTabItem item, AvaloniaPropertyChangedEventArgs e)
 {
     if (item.IsSelected == false)
     {
         item.PseudoClasses.Remove(":dragging");
     }
 }
예제 #2
0
 /// <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);
 }