Example #1
0
 private void HoverItem(PropertyViewItem item)
 {
     if (HoveredItem != null)
     {
         HoveredItem.SetValue(PropertyViewItem.IsHoveredPropertyKey, false);
     }
     HoveredItem = item;
     if (HoveredItem != null)
     {
         HoveredItem.SetValue(PropertyViewItem.IsHoveredPropertyKey, true);
     }
 }
Example #2
0
 private void HoverItem(PropertyViewItem item)
 {
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, false);
     HoveredItem = item;
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, true);
 }