2 types derived from ListBoxItem
PresentationFramework (2)
System\Windows\Controls\ComboBoxItem.cs (1)
30public class ComboBoxItem : ListBoxItem
System\Windows\Controls\ListViewItem.cs (1)
17public class ListViewItem : ListBoxItem
3 instantiations of ListBoxItem
PresentationFramework (3)
System\Windows\Controls\ListBox.cs (1)
657return new ListBoxItem();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6450bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ListBoxItem(); };
System\Windows\Markup\KnownTypes.cs (1)
1389case KnownElements.ListBoxItem: o = new System.Windows.Controls.ListBoxItem(); break;
49 references to ListBoxItem
PresentationFramework (49)
System\Windows\Automation\Peers\ListBoxItemWrapperAutomationPeer.cs (1)
28public ListBoxItemWrapperAutomationPeer(ListBoxItem owner): base(owner)
System\Windows\Controls\ListBox.cs (27)
30[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(ListBoxItem))] 292ListBoxItem listItem = (info != null) ? info.Container as ListBoxItem : null; 337ListBoxItem focusedItemUI = (FocusedInfo != null) ? FocusedInfo.Container as ListBoxItem : null; 409ListBoxItem source = e.OriginalSource as ListBoxItem; 592ListBoxItem newListBoxItem = e.NewFocus as ListBoxItem; 651return (item is ListBoxItem); 700internal void NotifyListItemClicked(ListBoxItem item, MouseButton mouseButton) 770internal void NotifyListItemMouseDragged(ListBoxItem listItem) 781ListBoxItem listItem = info.Container as ListBoxItem; 796private void MakeSingleSelection(ListBoxItem listItem) 810private void MakeToggleSelection(ListBoxItem item) 819private void MakeAnchorSelection(ListBoxItem actionItem, bool clearCurrent) 910private void MakeKeyboardSelection(ListBoxItem item) 946private int ElementIndex(ListBoxItem listItem) 951private ListBoxItem ElementAt(int index) 953return ItemContainerGenerator.ContainerFromIndex(index) as ListBoxItem; 982ListBoxItem listItem = info.Container as ListBoxItem; 1013ListBoxItem listBoxItem = info.Container as ListBoxItem; 1043internal ListBoxItem LastActionItem 1047return GetWeakReferenceTarget(ref _lastActionItem) as ListBoxItem;
System\Windows\Controls\ListBoxItem.cs (14)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 52_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBoxItem)); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 56IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 57IsMouseOverPropertyKey.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 58Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 59AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 76Selector.IsSelectedProperty.AddOwner(typeof(ListBoxItem), 93ListBoxItem listItem = d as ListBoxItem; 144public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(ListBoxItem)); 164public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(ListBoxItem));
System\Windows\Controls\ViewBase.cs (1)
54get { return typeof(ListBoxItem); }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
470case 374: t = () => typeof(ListBoxItem); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5054Type type = typeof(System.Windows.Controls.ListBoxItem); 5055DependencyProperty dp = System.Windows.Controls.ListBoxItem.ContentProperty; 5057this.GetXamlType(typeof(System.Windows.Controls.ListBoxItem)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6448typeof(System.Windows.Controls.ListBoxItem),
System\Windows\Markup\KnownTypes.cs (1)
5928case KnownElements.ListBoxItem: t = typeof(System.Windows.Controls.ListBoxItem); break;