1 type derived from ListBox
PresentationFramework (1)
System\Windows\Controls\ListView.cs (1)
29public class ListView : ListBox
2 instantiations of ListBox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7055DefaultConstructor = delegate () { return new System.Windows.Controls.ListBox(); },
System\Windows\Markup\KnownTypes.cs (1)
1381case KnownElements.ListBox: o = new System.Windows.Controls.ListBox(); break;
44 references to ListBox
Microsoft.VisualStudio.LanguageServices (2)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveStaticMembers\StaticMemberSelection.g.cs (2)
53internal System.Windows.Controls.ListBox MemberSelectionList; 117this.MemberSelectionList = ((System.Windows.Controls.ListBox)(target));
PresentationFramework (42)
System\Windows\Automation\Peers\ListBoxAutomationPeer.cs (1)
12public ListBoxAutomationPeer(ListBox owner): base(owner)
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
55ListBox parent = ItemsControlAutomationPeer.Owner as ListBox;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
747ListBox parent = _itemsControl as ListBox;
System\Windows\Controls\ListBox.cs (25)
58DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 59_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBox)); 61IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 63KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 65IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 69ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 72EventManager.RegisterClassHandler(typeof(ListBox), Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseButtonUp), true); 73EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus)); 75CommandHelpers.RegisterCommandHandler(typeof(ListBox), ListBox.SelectAllCommand, new ExecutedRoutedEventHandler(OnSelectAll), new CanExecuteRoutedEventHandler(OnQueryStatusSelectAll), KeyGesture.CreateFromResourceStrings(ListBoxSelectAllKey, SR.ListBoxSelectAllKeyDisplayString)); 148typeof(ListBox), 165ListBox listBox = (ListBox)d; 171return ((ListBox)d).SelectionMode; 568ListBox listBox = (ListBox)sender; 577ListBox listbox = (ListBox)sender; 678ListBox listBox = target as ListBox; 687ListBox listBox = target as ListBox; 1055new RoutedUICommand(SR.ListBoxSelectAllText, "SelectAll", typeof(ListBox));
System\Windows\Controls\ListBoxItem.cs (4)
271ListBox parent = ParentListBox; 291ListBox parent = ParentListBox; 357private ListBox ParentListBox 361return ParentSelector as ListBox;
System\Windows\Controls\Primitives\Selector.cs (1)
280SelectionMode mode = (SelectionMode)GetValue(ListBox.SelectionModeProperty);
System\Windows\Controls\ViewBase.cs (1)
42get { return typeof(ListBox); }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
466case 373: t = () => typeof(ListBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5352Type type = typeof(System.Windows.Controls.ListBox); 5354this.GetXamlType(typeof(System.Windows.Controls.ListBox)), // DeclaringType 5361GetDelegate = delegate (object target) { return ((System.Windows.Controls.ListBox)target).Items; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7052typeof(System.Windows.Controls.ListBox),
System\Windows\Markup\KnownTypes.cs (1)
5920case KnownElements.ListBox: t = typeof(System.Windows.Controls.ListBox); break;