1 type derived from ListBox
PresentationFramework (1)
System\Windows\Controls\ListView.cs (1)
30public class ListView : ListBox
2 instantiations of ListBox
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6433bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ListBox(); };
System\Windows\Markup\KnownTypes.cs (1)
1388case 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)
27public ListBoxAutomationPeer(ListBox owner): base(owner)
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
69ListBox parent = ItemsControlAutomationPeer.Owner as ListBox;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
751ListBox parent = _itemsControl as ListBox;
System\Windows\Controls\ListBox.cs (25)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 66_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBox)); 68IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 69KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 70KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 72IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 76ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 79EventManager.RegisterClassHandler(typeof(ListBox), Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseButtonUp), true); 80EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus)); 82CommandHelpers.RegisterCommandHandler(typeof(ListBox), ListBox.SelectAllCommand, new ExecutedRoutedEventHandler(OnSelectAll), new CanExecuteRoutedEventHandler(OnQueryStatusSelectAll), KeyGesture.CreateFromResourceStrings(ListBoxSelectAllKey, SR.ListBoxSelectAllKeyDisplayString)); 155typeof(ListBox), 172ListBox listBox = (ListBox)d; 178return ((ListBox)d).SelectionMode; 576ListBox listBox = (ListBox)sender; 585ListBox listbox = (ListBox)sender; 684ListBox listBox = target as ListBox; 693ListBox listBox = target as ListBox; 1064new RoutedUICommand(SR.ListBoxSelectAllText, "SelectAll", typeof(ListBox));
System\Windows\Controls\ListBoxItem.cs (4)
282ListBox parent = ParentListBox; 305ListBox parent = ParentListBox; 374private ListBox ParentListBox 378return ParentSelector as ListBox;
System\Windows\Controls\Primitives\Selector.cs (1)
293SelectionMode mode = (SelectionMode)GetValue(ListBox.SelectionModeProperty);
System\Windows\Controls\ViewBase.cs (1)
44get { return typeof(ListBox); }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
469case 373: t = () => typeof(ListBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5037Type type = typeof(System.Windows.Controls.ListBox); 5039this.GetXamlType(typeof(System.Windows.Controls.ListBox)), // DeclaringType 5045bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ListBox)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6431typeof(System.Windows.Controls.ListBox),
System\Windows\Markup\KnownTypes.cs (1)
5927case KnownElements.ListBox: t = typeof(System.Windows.Controls.ListBox); break;