41 references to HasItems
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
324
if (item.IsExpanded && item.
HasItems
)
PresentationFramework (26)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
40
&& owner.
HasItems
)
56
&& !owner.
HasItems
)
201
|| !owner.
HasItems
)
219
|| !owner.
HasItems
)
236
if (role == MenuItemRole.TopLevelItem || role == MenuItemRole.SubmenuItem || !owner.
HasItems
)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
270
if (!treeViewItem.
HasItems
)
286
if (!treeViewItem.
HasItems
)
299
if (treeViewItem.
HasItems
)
System\Windows\Controls\HeaderedItemsControl.cs (2)
344
itemCount =
HasItems
? Items.Count : 0;
355
itemCount =
HasItems
? Items.Count : 0;
System\Windows\Controls\ItemsControl.cs (5)
167
return
HasItems
;
273
if (!
HasItems
)
1458
HasItems
&& Items.Contains(container);
2595
if (
HasItems
)
3997
int itemsCount =
HasItems
? Items.Count : 0;
System\Windows\Controls\MenuItem.cs (2)
769
if (!IsCheckable &&
HasItems
)
2349
if (!parent.
HasItems
)
System\Windows\Controls\Primitives\Selector.cs (5)
496
if (
HasItems
)
521
if (
HasItems
)
567
if (!
HasItems
)
666
if (item == DependencyProperty.UnsetValue && s.
HasItems
)
1498
if (
HasItems
)
System\Windows\Controls\TabControl.cs (1)
502
if (
HasItems
&& _selectedItems.Count == 0)
System\Windows\Controls\TreeView.cs (1)
460
if (
HasItems
)
System\Windows\Controls\TreeViewItem.cs (2)
83
get { return
HasItems
; }
1127
if (
HasItems
)
System.Windows.Controls.Ribbon (14)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (4)
149
if (patternInterface == PatternInterface.ExpandCollapse && OwningMenuButton.
HasItems
)
171
if (!owner.
HasItems
)
185
if (!owner.
HasItems
)
200
if (!owner.
HasItems
)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (5)
88
&& menuItemOwner.
HasItems
)
103
&& !menuItemOwner.
HasItems
)
150
|| !menuItemOwner.
HasItems
)
181
|| !menuItemOwner.
HasItems
)
212
if (role == MenuItemRole.TopLevelItem || role == MenuItemRole.SubmenuItem || !menuItemOwner.
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2151
if (
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
562
if (itemsControl.
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1221
return (
HasItems
&& !IsCheckable);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (2)
183
if (
HasItems
&& e.Key == Key.Enter)
313
return
HasItems
;