1 write to ItemsHost
PresentationFramework (1)
System\Windows\Controls\Panel.cs (1)
267
itemsControl.
ItemsHost
= this;
79 references to ItemsHost
PresentationFramework (79)
MS\Internal\Helper.cs (1)
1223
itemsHost = scrollingItemsControl.
ItemsHost
;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
71
Panel itemHost = owner.
ItemsHost
;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
424
Panel itemHost = row.CellsPresenter.
ItemsHost
;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
59
if (cellsPresenter != null && cellsPresenter.
ItemsHost
!= null)
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
215
VirtualizingPanel itemsHost = _listview.
ItemsHost
as VirtualizingPanel;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
74
Panel itemHost = owner.
ItemsHost
;
System\Windows\Controls\ComboBox.cs (3)
1797
bool isMouseOverItemsHost = comboBox.
ItemsHost
!= null ? comboBox.
ItemsHost
.IsMouseOver : false;
1940
Panel itemsHost =
ItemsHost
;
System\Windows\Controls\DataGrid.cs (1)
5880
if (startingElement != null &&
ItemsHost
.IsAncestorOf(startingElement))
System\Windows\Controls\GridViewRowPresenter.cs (1)
458
if (itemsControl.
ItemsHost
is VirtualizingPanel &&
System\Windows\Controls\ItemsControl.cs (49)
1846
VirtualizingPanel itemsHost =
ItemsHost
as VirtualizingPanel;
1892
if (
ItemsHost
== null)
1931
if (
ItemsHost
== null)
1989
if (startingElement == null || !
ItemsHost
.IsAncestorOf(startingElement))
2003
startingParent !=
ItemsHost
)
2015
bool isHorizontal = (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2025
VirtualizingPanel virtualizingPanel =
ItemsHost
as VirtualizingPanel;
2151
if (didScroll && nextElement != null &&
ItemsHost
.IsAncestorOf(nextElement))
2159
if ((nextElement != null) && (
ItemsHost
.IsAncestorOf(nextElement)))
2193
if (
ItemsHost
== null)
2239
if (
ItemsHost
== null)
2296
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2375
if (
ItemsHost
!= null)
2381
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2398
ItemsHost
.UpdateLayout();
2406
FrameworkElement hopefulFirstElement = FindEndFocusableLeafContainer(
ItemsHost
, false /*last*/);
2441
if (
ItemsHost
!= null)
2447
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2464
ItemsHost
.UpdateLayout();
2472
FrameworkElement hopefulLastElement = FindEndFocusableLeafContainer(
ItemsHost
, true /*last*/);
2518
if (itemsControl.
ItemsHost
!= null)
2520
result = FindEndFocusableLeafContainer(itemsControl.
ItemsHost
, last);
2588
if (
ItemsHost
!= null)
2590
isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2639
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2682
VirtualizingPanel virtualizingPanel =
ItemsHost
as VirtualizingPanel;
2715
if (ScrollHost != null &&
ItemsHost
!= null)
2730
ItemsHost
.UpdateLayout();
2740
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2793
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2794
bool isVertical = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Vertical);
2905
viewPort =
ItemsHost
;
3299
return (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Vertical &&
3309
return (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal &&
3367
FrameworkElement relativeTo = ScrollHost != null ? (FrameworkElement)ScrollHost :
ItemsHost
;
System\Windows\Controls\ListBox.cs (2)
375
if ((
ItemsHost
!= null &&
ItemsHost
.IsKeyboardFocusWithin) || IsKeyboardFocused)
System\Windows\Controls\Menu.cs (2)
202
Panel itemsHost =
ItemsHost
;
216
Panel itemsHost =
ItemsHost
;
System\Windows\Controls\Panel.cs (1)
266
oldItemsHost = itemsControl.
ItemsHost
;
System\Windows\Controls\TreeViewItem.cs (7)
353
Helper.ComputeCorrectionFactor(ParentTreeView, this,
ItemsHost
, HeaderElement);
378
Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentTreeView, this,
ItemsHost
, ref pixelHeaderSize);
391
return Helper.ApplyCorrectionFactorToItemDesiredSizes(this,
ItemsHost
);
403
return
ItemsHost
;
931
VirtualizingPanel vp =
ItemsHost
as VirtualizingPanel;
1036
VirtualizingPanel virtualizingPanel = item.
ItemsHost
as VirtualizingPanel;
1037
item.
ItemsHost
.EnsureGenerator();
System\Windows\Controls\VirtualizingPanel.cs (1)
351
Panel p = ic.
ItemsHost
;
System\Windows\Controls\VirtualizingStackPanel.cs (5)
1243
if (itemsControl.
ItemsHost
!= null && itemsControl.
ItemsHost
.IsVisible)
1245
result = ComputeFirstContainerInViewport(viewportElement, direction, itemsControl.
ItemsHost
, action, findTopContainer, out firstContainerOffsetFromViewport);
1265
innerPanel = itemsControl.
ItemsHost
;
6528
Panel scrollingPanel = (scrollingItemsControl == null) ? null : scrollingItemsControl.
ItemsHost
;
System\Windows\Input\KeyboardNavigation.cs (1)
2471
Panel itemsHost = tvi.
ItemsHost
;