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