4 types derived from Selector
PresentationFramework (4)
src\Framework\System\Windows\Controls\ComboBox.cs (1)
41public class ComboBox : Selector
src\Framework\System\Windows\Controls\ListBox.cs (1)
32public class ListBox : Selector
src\Framework\System\Windows\Controls\Primitives\MultiSelector.cs (1)
18public abstract class MultiSelector : Selector
src\Framework\System\Windows\Controls\TabControl.cs (1)
40public class TabControl : Selector
99 references to Selector
PresentationFramework (99)
src\Framework\MS\Internal\Data\ClrBindingWorker.cs (1)
75targetDP == System.Windows.Controls.Primitives.Selector.SelectedValueProperty ||
src\Framework\System\Windows\Automation\Peers\SelectorAutomationPeer.cs (7)
24protected SelectorAutomationPeer(Selector owner): base(owner) 94Selector owner = (Selector)Owner; 120Selector owner = (Selector)Owner; 149Selector owner = (Selector)Owner;
src\Framework\System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (8)
48Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 66Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 88Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 104Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
src\Framework\System\Windows\Automation\Peers\TabItemAutomationPeer.cs (2)
106Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
src\Framework\System\Windows\Controls\DataGridRow.cs (3)
1077public static readonly DependencyProperty IsSelectedProperty = Selector.IsSelectedProperty.AddOwner( 1137public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(DataGridRow)); 1167public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(DataGridRow));
src\Framework\System\Windows\Controls\DeferredSelectedIndexReference.cs (2)
28internal DeferredSelectedIndexReference(Selector selector) 66private readonly Selector _selector;
src\Framework\System\Windows\Controls\ListBox.cs (1)
196public static readonly DependencyProperty SelectedItemsProperty = Selector.SelectedItemsImplProperty;
src\Framework\System\Windows\Controls\ListBoxItem.cs (11)
58Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 76Selector.IsSelectedProperty.AddOwner(typeof(ListBoxItem), 96Selector parentSelector = listItem.ParentSelector; 104listItem.OnSelected(new RoutedEventArgs(Selector.SelectedEvent, listItem)); 108listItem.OnUnselected(new RoutedEventArgs(Selector.UnselectedEvent, listItem)); 144public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(ListBoxItem)); 164public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(ListBoxItem)); 213if (Selector.GetIsSelectionActive(this)) 280if (Selector.UiGetIsSelectable(this) && Focus()) 382internal Selector ParentSelector 386return ItemsControl.ItemsControlFromItemContainer(this) as Selector;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
999Selector.IsSelectedProperty.AddOwner(
src\Framework\System\Windows\Controls\Primitives\Selector.cs (41)
72EventManager.RegisterClassHandler(typeof(Selector), Selector.SelectedEvent, new RoutedEventHandler(Selector.OnSelected)); 73EventManager.RegisterClassHandler(typeof(Selector), Selector.UnselectedEvent, new RoutedEventHandler(Selector.OnUnselected)); 90"SelectionChanged", RoutingStrategy.Bubble, typeof(SelectionChangedEventHandler), typeof(Selector)); 107"Selected", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(Selector)); 136"Unselected", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(Selector)); 181typeof(Selector), 212typeof(Selector), 260typeof(Selector), 279Selector s = (Selector)d; 333typeof(Selector), 354Selector s = (Selector) d; 371Selector s = (Selector) d; 389typeof(Selector), 408Selector s = (Selector) d; 418Selector s = (Selector) d; 442typeof(Selector), 481Selector s = (Selector)d; 669Selector s = (Selector)d; 702typeof(Selector), 720Selector s = (Selector)d; 799typeof(Selector), 1818return (bool)container.GetValue(Selector.IsSelectedProperty); 1829return (bool)element.GetValue(Selector.IsSelectedProperty); 1847container.SetCurrentValueInternal(Selector.IsSelectedProperty, BooleanBoxes.Box(value)); 1863element.SetCurrentValueInternal(Selector.IsSelectedProperty, BooleanBoxes.Box(value)); 1917((Selector)sender).NotifyIsSelectedChanged(e.OriginalSource as FrameworkElement, true, e); 1922((Selector)sender).NotifyIsSelectedChanged(e.OriginalSource as FrameworkElement, false, e); 2305internal SelectionChanger(Selector s) 2711private Selector _owner;
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (1)
334bool isActiveTab = (bool)child.GetValue(Selector.IsSelectedProperty);
src\Framework\System\Windows\Controls\SelectedItemCollection.cs (2)
34public SelectedItemCollection(Selector selector) 259private Selector _selector;
src\Framework\System\Windows\Controls\SelectionChangedEventArgs.cs (1)
53RoutedEvent = Selector.SelectionChangedEvent;
src\Framework\System\Windows\Controls\TabItem.cs (3)
80Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 109tabItem.OnSelected(new RoutedEventArgs(Selector.SelectedEvent, tabItem)); 113tabItem.OnUnselected(new RoutedEventArgs(Selector.UnselectedEvent, tabItem));
src\Framework\System\Windows\Controls\TreeView.cs (3)
776if ((bool)GetValue(Selector.IsSelectionActiveProperty) != isSelectionActive) 779SetValue(Selector.IsSelectionActivePropertyKey, BooleanBoxes.Box(isSelectionActive)); 809ClearValue(Selector.IsSelectionActivePropertyKey);
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
46Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 186public static readonly DependencyProperty IsSelectionActiveProperty = Selector.IsSelectionActiveProperty.AddOwner(typeof(TreeViewItem));
src\Framework\System\Windows\Data\BindingExpression.cs (1)
2241if (TargetProperty.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
645case 553: t = () => typeof(Selector); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
5560Type type = typeof(System.Windows.Controls.Primitives.Selector); 5562this.GetXamlType(typeof(System.Windows.Controls.Primitives.Selector)), // DeclaringType 5568bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.Selector)target).Items; }; 8000Type type = typeof(System.Windows.Controls.Primitives.Selector); 8001DependencyProperty dp = System.Windows.Controls.Primitives.Selector.IsSelectedProperty; 8003this.GetXamlType(typeof(System.Windows.Controls.Primitives.Selector)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8796typeof(System.Windows.Controls.Primitives.Selector),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6097case KnownElements.Selector: t = typeof(System.Windows.Controls.Primitives.Selector); break;