Beispiel #1
0
 private void HighlightItem(PropertyViewItem item)
 {
     HighlightedItem?.SetValue(PropertyViewItem.IsHighlightedPropertyKey, false);
     HighlightedItem = item;
     HighlightedItem?.SetValue(PropertyViewItem.IsHighlightedPropertyKey, true);
 }
Beispiel #2
0
 private void KeyboardActivateItem(PropertyViewItem item)
 {
     KeyboardActiveItem?.SetValue(PropertyViewItem.IsKeyboardActivePropertyKey, false);
     KeyboardActiveItem = item;
     KeyboardActiveItem?.SetValue(PropertyViewItem.IsKeyboardActivePropertyKey, true);
 }
Beispiel #3
0
 private void HoverItem(PropertyViewItem item)
 {
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, false);
     HoveredItem = item;
     HoveredItem?.SetValue(PropertyViewItem.IsHoveredPropertyKey, true);
 }
 public PropertyViewItemEventArgs(RoutedEvent routedEvent, object source, PropertyViewItem container, object item)
     : base(routedEvent, source)
 {
     Container = container;
     Item      = item;
 }