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)
6431bamlType.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)
13public ListBoxAutomationPeer(ListBox owner): base(owner)
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
56ListBox parent = ItemsControlAutomationPeer.Owner as ListBox;
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
748ListBox parent = _itemsControl as ListBox;
System\Windows\Controls\ListBox.cs (25)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 60_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBox)); 62IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 64KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 70ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 73EventManager.RegisterClassHandler(typeof(ListBox), Mouse.MouseUpEvent, new MouseButtonEventHandler(OnMouseButtonUp), true); 74EventManager.RegisterClassHandler(typeof(ListBox), Keyboard.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(OnGotKeyboardFocus)); 76CommandHelpers.RegisterCommandHandler(typeof(ListBox), ListBox.SelectAllCommand, new ExecutedRoutedEventHandler(OnSelectAll), new CanExecuteRoutedEventHandler(OnQueryStatusSelectAll), KeyGesture.CreateFromResourceStrings(ListBoxSelectAllKey, SR.ListBoxSelectAllKeyDisplayString)); 149typeof(ListBox), 166ListBox listBox = (ListBox)d; 172return ((ListBox)d).SelectionMode; 570ListBox listBox = (ListBox)sender; 579ListBox listbox = (ListBox)sender; 678ListBox listBox = target as ListBox; 687ListBox listBox = target as ListBox; 1058new RoutedUICommand(SR.ListBoxSelectAllText, "SelectAll", typeof(ListBox));
System\Windows\Controls\ListBoxItem.cs (4)
275ListBox parent = ParentListBox; 298ListBox parent = ParentListBox; 367private ListBox ParentListBox 371return ParentSelector as ListBox;
System\Windows\Controls\Primitives\Selector.cs (1)
284SelectionMode mode = (SelectionMode)GetValue(ListBox.SelectionModeProperty);
System\Windows\Controls\ViewBase.cs (1)
43get { return typeof(ListBox); }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
467case 373: t = () => typeof(ListBox); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5035Type type = typeof(System.Windows.Controls.ListBox); 5037this.GetXamlType(typeof(System.Windows.Controls.ListBox)), // DeclaringType 5043bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.ListBox)target).Items; };
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6429typeof(System.Windows.Controls.ListBox),
System\Windows\Markup\KnownTypes.cs (1)
5927case KnownElements.ListBox: t = typeof(System.Windows.Controls.ListBox); break;