41 references to HasItems
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
319
if (item.IsExpanded && item.
HasItems
)
PresentationFramework (26)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
53
&& owner.
HasItems
)
69
&& !owner.
HasItems
)
214
|| !owner.
HasItems
)
232
|| !owner.
HasItems
)
249
if (role == MenuItemRole.TopLevelItem || role == MenuItemRole.SubmenuItem || !owner.
HasItems
)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
282
if (!treeViewItem.
HasItems
)
298
if (!treeViewItem.
HasItems
)
311
if (treeViewItem.
HasItems
)
System\Windows\Controls\HeaderedItemsControl.cs (2)
349
itemCount =
HasItems
? Items.Count : 0;
360
itemCount =
HasItems
? Items.Count : 0;
System\Windows\Controls\ItemsControl.cs (5)
176
return
HasItems
;
282
if (!
HasItems
)
1467
HasItems
&& Items.Contains(container);
2604
if (
HasItems
)
4006
int itemsCount =
HasItems
? Items.Count : 0;
System\Windows\Controls\MenuItem.cs (2)
779
if (!IsCheckable &&
HasItems
)
2359
if (!parent.
HasItems
)
System\Windows\Controls\Primitives\Selector.cs (5)
505
if (
HasItems
)
530
if (
HasItems
)
576
if (!
HasItems
)
675
if (item == DependencyProperty.UnsetValue && s.
HasItems
)
1507
if (
HasItems
)
System\Windows\Controls\TabControl.cs (1)
512
if (
HasItems
&& _selectedItems.Count == 0)
System\Windows\Controls\TreeView.cs (1)
465
if (
HasItems
)
System\Windows\Controls\TreeViewItem.cs (2)
87
get { return
HasItems
; }
1131
if (
HasItems
)
System.Windows.Controls.Ribbon (14)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (4)
152
if (patternInterface == PatternInterface.ExpandCollapse && OwningMenuButton.
HasItems
)
174
if (!owner.
HasItems
)
188
if (!owner.
HasItems
)
203
if (!owner.
HasItems
)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (5)
92
&& menuItemOwner.
HasItems
)
107
&& !menuItemOwner.
HasItems
)
154
|| !menuItemOwner.
HasItems
)
185
|| !menuItemOwner.
HasItems
)
216
if (role == MenuItemRole.TopLevelItem || role == MenuItemRole.SubmenuItem || !menuItemOwner.
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2153
if (
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
567
if (itemsControl.
HasItems
)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
1224
return (
HasItems
&& !IsCheckable);
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (2)
186
if (
HasItems
&& e.Key == Key.Enter)
316
return
HasItems
;