Пример #1
0
 private void HoverItem(PropertyViewItem item)
 {
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, false);
     HoveredItem = item;
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, true);
 }
Пример #2
0
 private void HighlightItem(PropertyViewItem item)
 {
     HighlightedItem?.SetValue(PropertyViewItem.IsHighlightedPropertyKey, false);
     HighlightedItem = item;
     HighlightedItem?.SetValue(PropertyViewItem.IsHighlightedPropertyKey, true);
 }
Пример #3
0
 private void KeyboardActivateItem(PropertyViewItem item)
 {
     KeyboardActiveItem?.SetValue(PropertyViewItem.IsKeyboardActivePropertyKey, false);
     KeyboardActiveItem = item;
     KeyboardActiveItem?.SetValue(PropertyViewItem.IsKeyboardActivePropertyKey, true);
 }