2 types derived from ListBoxItem
PresentationFramework (2)
System\Windows\Controls\ComboBoxItem.cs (1)
19public class ComboBoxItem : ListBoxItem
System\Windows\Controls\ListViewItem.cs (1)
13public class ListViewItem : ListBoxItem
3 instantiations of ListBoxItem
PresentationFramework (3)
System\Windows\Controls\ListBox.cs (1)
651return new ListBoxItem();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6448bamlType.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)
13public ListBoxItemWrapperAutomationPeer(ListBoxItem owner): base(owner)
System\Windows\Controls\ListBox.cs (27)
24[StyleTypedProperty(Property = "ItemContainerStyle", StyleTargetType = typeof(ListBoxItem))] 286ListBoxItem listItem = (info != null) ? info.Container as ListBoxItem : null; 331ListBoxItem focusedItemUI = (FocusedInfo != null) ? FocusedInfo.Container as ListBoxItem : null; 403ListBoxItem source = e.OriginalSource as ListBoxItem; 586ListBoxItem newListBoxItem = e.NewFocus as ListBoxItem; 645return (item is ListBoxItem); 694internal void NotifyListItemClicked(ListBoxItem item, MouseButton mouseButton) 764internal void NotifyListItemMouseDragged(ListBoxItem listItem) 775ListBoxItem listItem = info.Container as ListBoxItem; 790private void MakeSingleSelection(ListBoxItem listItem) 804private void MakeToggleSelection(ListBoxItem item) 813private void MakeAnchorSelection(ListBoxItem actionItem, bool clearCurrent) 904private void MakeKeyboardSelection(ListBoxItem item) 940private int ElementIndex(ListBoxItem listItem) 945private ListBoxItem ElementAt(int index) 947return ItemContainerGenerator.ContainerFromIndex(index) as ListBoxItem; 976ListBoxItem listItem = info.Container as ListBoxItem; 1007ListBoxItem listBoxItem = info.Container as ListBoxItem; 1037internal ListBoxItem LastActionItem 1041return GetWeakReferenceTarget(ref _lastActionItem) as ListBoxItem;
System\Windows\Controls\ListBoxItem.cs (14)
44DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 45_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ListBoxItem)); 46KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 49IsEnabledProperty.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 50IsMouseOverPropertyKey.OverrideMetadata(typeof(ListBoxItem), new UIPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 51Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 52AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 69Selector.IsSelectedProperty.AddOwner(typeof(ListBoxItem), 86ListBoxItem listItem = d as ListBoxItem; 137public static readonly RoutedEvent SelectedEvent = Selector.SelectedEvent.AddOwner(typeof(ListBoxItem)); 157public static readonly RoutedEvent UnselectedEvent = Selector.UnselectedEvent.AddOwner(typeof(ListBoxItem));
System\Windows\Controls\ViewBase.cs (1)
53get { return typeof(ListBoxItem); }
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
468case 374: t = () => typeof(ListBoxItem); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
5052Type type = typeof(System.Windows.Controls.ListBoxItem); 5053DependencyProperty dp = System.Windows.Controls.ListBoxItem.ContentProperty; 5055this.GetXamlType(typeof(System.Windows.Controls.ListBoxItem)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6446typeof(System.Windows.Controls.ListBoxItem),
System\Windows\Markup\KnownTypes.cs (1)
5928case KnownElements.ListBoxItem: t = typeof(System.Windows.Controls.ListBoxItem); break;