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)
7056DefaultConstructor = delegate () { return new System.Windows.Controls.ListBox(); },
System\Windows\Markup\KnownTypes.cs (1)
1382case 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; 569ListBox listBox = (ListBox)sender; 578ListBox listbox = (ListBox)sender; 679ListBox listBox = target as ListBox; 688ListBox listBox = target as ListBox; 1056new RoutedUICommand(SR.ListBoxSelectAllText, "SelectAll", typeof(ListBox));
System\Windows\Controls\ListBoxItem.cs (4)
272ListBox parent = ParentListBox; 292ListBox parent = ParentListBox; 358private ListBox ParentListBox 362return ParentSelector as ListBox;
System\Windows\Controls\Primitives\Selector.cs (1)
281SelectionMode 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)
5353Type type = typeof(System.Windows.Controls.ListBox); 5355this.GetXamlType(typeof(System.Windows.Controls.ListBox)), // DeclaringType 5362GetDelegate = delegate (object target) { return ((System.Windows.Controls.ListBox)target).Items; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7053typeof(System.Windows.Controls.ListBox),
System\Windows\Markup\KnownTypes.cs (1)
5921case KnownElements.ListBox: t = typeof(System.Windows.Controls.ListBox); break;