5 types derived from Selector
PresentationFramework (4)
System\Windows\Controls\ComboBox.cs (1)
30public class ComboBox : Selector
System\Windows\Controls\ListBox.cs (1)
25public class ListBox : Selector
System\Windows\Controls\Primitives\MultiSelector.cs (1)
15public abstract class MultiSelector : Selector
System\Windows\Controls\TabControl.cs (1)
29public class TabControl : Selector
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
51public class Ribbon : Selector
104 references to Selector
PresentationFramework (99)
MS\Internal\Data\ClrBindingWorker.cs (1)
64targetDP == System.Windows.Controls.Primitives.Selector.SelectedValueProperty ||
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (7)
15protected SelectorAutomationPeer(Selector owner): base(owner) 85Selector owner = (Selector)Owner; 111Selector owner = (Selector)Owner; 140Selector owner = (Selector)Owner;
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (8)
38Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 56Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 78Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner); 94Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
System\Windows\Automation\Peers\TabItemAutomationPeer.cs (2)
98Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
System\Windows\Controls\DataGridRow.cs (3)
1072public static readonly DependencyProperty IsSelectedProperty = Selector.IsSelectedProperty.AddOwner( 1132public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(DataGridRow)); 1162public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(DataGridRow));
System\Windows\Controls\DeferredSelectedIndexReference.cs (2)
26internal DeferredSelectedIndexReference(Selector selector) 64private readonly Selector _selector;
System\Windows\Controls\ListBox.cs (1)
192public static readonly DependencyProperty SelectedItemsProperty = Selector.SelectedItemsImplProperty;
System\Windows\Controls\ListBoxItem.cs (11)
51Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 69Selector.IsSelectedProperty.AddOwner(typeof(ListBoxItem), 89Selector parentSelector = listItem.ParentSelector; 97listItem.OnSelected(new RoutedEventArgs(Selector.SelectedEvent, listItem)); 101listItem.OnUnselected(new RoutedEventArgs(Selector.UnselectedEvent, listItem)); 137public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(ListBoxItem)); 157public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(ListBoxItem)); 206if (Selector.GetIsSelectionActive(this)) 273if (Selector.UiGetIsSelectable(this) && Focus()) 375internal Selector ParentSelector 379return ItemsControl.ItemsControlFromItemContainer(this) as Selector;
System\Windows\Controls\MenuItem.cs (1)
1003Selector.IsSelectedProperty.AddOwner(
System\Windows\Controls\Primitives\Selector.cs (41)
62EventManager.RegisterClassHandler(typeof(Selector), Selector.SelectedEvent, new RoutedEventHandler(Selector.OnSelected)); 63EventManager.RegisterClassHandler(typeof(Selector), Selector.UnselectedEvent, new RoutedEventHandler(Selector.OnUnselected)); 80"SelectionChanged", RoutingStrategy.Bubble, typeof(SelectionChangedEventHandler), typeof(Selector)); 97"Selected", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(Selector)); 126"Unselected", RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(Selector)); 171typeof(Selector), 199typeof(Selector), 241typeof(Selector), 260Selector s = (Selector)d; 314typeof(Selector), 335Selector s = (Selector) d; 352Selector s = (Selector) d; 370typeof(Selector), 389Selector s = (Selector) d; 399Selector s = (Selector) d; 423typeof(Selector), 462Selector s = (Selector)d; 650Selector s = (Selector)d; 683typeof(Selector), 701Selector s = (Selector)d; 780typeof(Selector), 1789return (bool)container.GetValue(Selector.IsSelectedProperty); 1800return (bool)element.GetValue(Selector.IsSelectedProperty); 1818container.SetCurrentValueInternal(Selector.IsSelectedProperty, BooleanBoxes.Box(value)); 1834element.SetCurrentValueInternal(Selector.IsSelectedProperty, BooleanBoxes.Box(value)); 1888((Selector)sender).NotifyIsSelectedChanged(e.OriginalSource as FrameworkElement, true, e); 1893((Selector)sender).NotifyIsSelectedChanged(e.OriginalSource as FrameworkElement, false, e); 2251internal SelectionChanger(Selector s) 2656private Selector _owner;
System\Windows\Controls\Primitives\TabPanel.cs (1)
325bool isActiveTab = (bool)child.GetValue(Selector.IsSelectedProperty);
System\Windows\Controls\SelectedItemCollection.cs (2)
25public SelectedItemCollection(Selector selector) 250private Selector _selector;
System\Windows\Controls\SelectionChangedEventArgs.cs (1)
50RoutedEvent = Selector.SelectionChangedEvent;
System\Windows\Controls\TabItem.cs (3)
73Selector.IsSelectedProperty.AddOwner(typeof(TabItem), 102tabItem.OnSelected(new RoutedEventArgs(Selector.SelectedEvent, tabItem)); 106tabItem.OnUnselected(new RoutedEventArgs(Selector.UnselectedEvent, tabItem));
System\Windows\Controls\TreeView.cs (3)
769if ((bool)GetValue(Selector.IsSelectionActiveProperty) != isSelectionActive) 772SetValue(Selector.IsSelectionActivePropertyKey, BooleanBoxes.Box(isSelectionActive)); 802ClearValue(Selector.IsSelectionActivePropertyKey);
System\Windows\Controls\TreeViewItem.cs (2)
41Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 181public static readonly DependencyProperty IsSelectionActiveProperty = Selector.IsSelectionActiveProperty.AddOwner(typeof(TreeViewItem));
System\Windows\Data\BindingExpression.cs (1)
2252if (TargetProperty.OwnerType != typeof(System.Windows.Controls.Primitives.Selector) && // SelectedItem, SelectedValue, SelectedIndex, etc.
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
647case 553: t = () => typeof(Selector); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (6)
5600Type type = typeof(System.Windows.Controls.Primitives.Selector); 5602this.GetXamlType(typeof(System.Windows.Controls.Primitives.Selector)), // DeclaringType 5608bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.Selector)target).Items; }; 8040Type type = typeof(System.Windows.Controls.Primitives.Selector); 8041DependencyProperty dp = System.Windows.Controls.Primitives.Selector.IsSelectedProperty; 8043this.GetXamlType(typeof(System.Windows.Controls.Primitives.Selector)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8798typeof(System.Windows.Controls.Primitives.Selector),
System\Windows\Markup\KnownTypes.cs (1)
6107case KnownElements.Selector: t = typeof(System.Windows.Controls.Primitives.Selector); break;
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (2)
159Selector parentSelector = (Selector)(ItemsControlAutomationPeer.Owner);
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (3)
109Selector.IsSelectedProperty.AddOwner(typeof(RibbonTab), 714ribbonTab.OnSelected(new RoutedEventArgs(Selector.SelectedEvent, ribbonTab)); 718ribbonTab.OnUnselected(new RoutedEventArgs(Selector.UnselectedEvent, ribbonTab));