28 references to HasItems
PresentationFramework (26)
src\Framework\System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
49
&& owner.
HasItems
)
65
&& !owner.
HasItems
)
189
|| !owner.
HasItems
)
207
|| !owner.
HasItems
)
224
if (role == MenuItemRole.TopLevelItem || role == MenuItemRole.SubmenuItem || !owner.
HasItems
)
src\Framework\System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
283
if (!treeViewItem.
HasItems
)
299
if (!treeViewItem.
HasItems
)
312
if (treeViewItem.
HasItems
)
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (2)
345
itemCount =
HasItems
? Items.Count : 0;
356
itemCount =
HasItems
? Items.Count : 0;
src\Framework\System\Windows\Controls\ItemsControl.cs (5)
177
return
HasItems
;
284
if (!
HasItems
)
1470
HasItems
&& Items.Contains(container);
2607
if (
HasItems
)
3938
int itemsCount =
HasItems
? Items.Count : 0;
src\Framework\System\Windows\Controls\MenuItem.cs (2)
774
if (!IsCheckable &&
HasItems
)
2419
if (!parent.
HasItems
)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (5)
515
if (
HasItems
)
540
if (
HasItems
)
586
if (!
HasItems
)
685
if (item == DependencyProperty.UnsetValue && s.
HasItems
)
1526
if (
HasItems
)
src\Framework\System\Windows\Controls\TabControl.cs (1)
513
if (
HasItems
&& _selectedItems.Count == 0)
src\Framework\System\Windows\Controls\TreeView.cs (1)
466
if (
HasItems
)
src\Framework\System\Windows\Controls\TreeViewItem.cs (2)
88
get { return
HasItems
; }
1131
if (
HasItems
)
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
322
if (null != this.ContextMenu && this.ContextMenu.
HasItems
)
367
if (menuItem.
HasItems
)