2 types derived from ListBox
PresentationFramework (1)
src\Framework\System\Windows\Controls\ListView.cs (1)
32public class ListView : ListBox
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\AutomatedListBox.cs (1)
17internal class AutomatedListBox : ListBox
2 instantiations of ListBox
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6429bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ListBox(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1389case KnownElements.ListBox: o = new System.Windows.Controls.ListBox(); break;
45 references to ListBox
PresentationFramework (42)
src\Framework\System\Windows\Automation\Peers\ListBoxAutomationPeer.cs (1)
24public ListBoxAutomationPeer(ListBox owner): base(owner)
src\Framework\System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
68ListBox parent = ItemsControlAutomationPeer.Owner as ListBox;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
753ListBox parent = _itemsControl as ListBox;
src\Framework\System\Windows\Controls\ListBox.cs (25)
63DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 64_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBox)); 66IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 74ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 77EventManager.RegisterClassHandler(typeof(ListBox), Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseButtonUp), true); 78EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus)); 80CommandHelpers.RegisterCommandHandler(typeof(ListBox), ListBox.SelectAllCommand, new ExecutedRoutedEventHandler(OnSelectAll), new CanExecuteRoutedEventHandler(OnQueryStatusSelectAll), KeyGesture.CreateFromResourceStrings(SR.Get(SRID.ListBoxSelectAllKey), SR.Get(SRID.ListBoxSelectAllKeyDisplayString))); 153typeof(ListBox), 170ListBox listBox = (ListBox)d; 176return ((ListBox)d).SelectionMode; 531ListBox listBox = (ListBox)sender; 540ListBox listbox = (ListBox)sender; 639ListBox listBox = target as ListBox; 648ListBox listBox = target as ListBox; 1019new RoutedUICommand(SR.Get(SRID.ListBoxSelectAllText), "SelectAll", typeof(ListBox));
src\Framework\System\Windows\Controls\ListBoxItem.cs (4)
282ListBox parent = ParentListBox; 305ListBox parent = ParentListBox; 374private ListBox ParentListBox 378return ParentSelector as ListBox;
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
303SelectionMode mode = (SelectionMode)GetValue(ListBox.SelectionModeProperty);
src\Framework\System\Windows\Controls\ViewBase.cs (1)
46get { return typeof(ListBox); }
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
465case 373: t = () => typeof(ListBox); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5012Type type = typeof(System.Windows.Controls.ListBox); 5014this.GetXamlType(typeof(System.Windows.Controls.ListBox)), // DeclaringType 5020bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ListBox)target).Items; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6427typeof(System.Windows.Controls.ListBox),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5917case KnownElements.ListBox: t = typeof(System.Windows.Controls.ListBox); break;
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
304ListBox listBox = VisualTreeUtils.FindVisualAncestor<ListBox>(button);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\AutomatedListBox.cs (1)
27public AutomatedListBoxAutomationPeer(ListBox owner)