1 write to ItemsHost
PresentationFramework (1)
System\Windows\Controls\Panel.cs (1)
260
itemsControl.
ItemsHost
= this;
79 references to ItemsHost
PresentationFramework (79)
MS\Internal\Helper.cs (1)
1214
itemsHost = scrollingItemsControl.
ItemsHost
;
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
69
Panel itemHost = owner.
ItemsHost
;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
419
Panel itemHost = row.CellsPresenter.
ItemsHost
;
System\Windows\Automation\Peers\DataGridRowAutomationPeer.cs (1)
55
if (cellsPresenter != null && cellsPresenter.
ItemsHost
!= null)
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
203
VirtualizingPanel itemsHost = _listview.
ItemsHost
as VirtualizingPanel;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
62
Panel itemHost = owner.
ItemsHost
;
System\Windows\Controls\ComboBox.cs (3)
1787
bool isMouseOverItemsHost = comboBox.
ItemsHost
!= null ? comboBox.
ItemsHost
.IsMouseOver : false;
1930
Panel itemsHost =
ItemsHost
;
System\Windows\Controls\DataGrid.cs (1)
5877
if (startingElement != null &&
ItemsHost
.IsAncestorOf(startingElement))
System\Windows\Controls\GridViewRowPresenter.cs (1)
454
if (itemsControl.
ItemsHost
is VirtualizingPanel &&
System\Windows\Controls\ItemsControl.cs (49)
1837
VirtualizingPanel itemsHost =
ItemsHost
as VirtualizingPanel;
1883
if (
ItemsHost
== null)
1922
if (
ItemsHost
== null)
1980
if (startingElement == null || !
ItemsHost
.IsAncestorOf(startingElement))
1994
startingParent !=
ItemsHost
)
2006
bool isHorizontal = (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2016
VirtualizingPanel virtualizingPanel =
ItemsHost
as VirtualizingPanel;
2142
if (didScroll && nextElement != null &&
ItemsHost
.IsAncestorOf(nextElement))
2150
if ((nextElement != null) && (
ItemsHost
.IsAncestorOf(nextElement)))
2184
if (
ItemsHost
== null)
2230
if (
ItemsHost
== null)
2287
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2366
if (
ItemsHost
!= null)
2372
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2389
ItemsHost
.UpdateLayout();
2397
FrameworkElement hopefulFirstElement = FindEndFocusableLeafContainer(
ItemsHost
, false /*last*/);
2432
if (
ItemsHost
!= null)
2438
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2455
ItemsHost
.UpdateLayout();
2463
FrameworkElement hopefulLastElement = FindEndFocusableLeafContainer(
ItemsHost
, true /*last*/);
2509
if (itemsControl.
ItemsHost
!= null)
2511
result = FindEndFocusableLeafContainer(itemsControl.
ItemsHost
, last);
2579
if (
ItemsHost
!= null)
2581
isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2630
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2673
VirtualizingPanel virtualizingPanel =
ItemsHost
as VirtualizingPanel;
2706
if (ScrollHost != null &&
ItemsHost
!= null)
2721
ItemsHost
.UpdateLayout();
2731
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2784
bool isHorizontal = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal);
2785
bool isVertical = (
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Vertical);
2896
viewPort =
ItemsHost
;
3290
return (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Vertical &&
3300
return (
ItemsHost
!= null &&
ItemsHost
.HasLogicalOrientation &&
ItemsHost
.LogicalOrientation == Orientation.Horizontal &&
3358
FrameworkElement relativeTo = ScrollHost != null ? (FrameworkElement)ScrollHost :
ItemsHost
;
System\Windows\Controls\ListBox.cs (2)
369
if ((
ItemsHost
!= null &&
ItemsHost
.IsKeyboardFocusWithin) || IsKeyboardFocused)
System\Windows\Controls\Menu.cs (2)
192
Panel itemsHost =
ItemsHost
;
206
Panel itemsHost =
ItemsHost
;
System\Windows\Controls\Panel.cs (1)
259
oldItemsHost = itemsControl.
ItemsHost
;
System\Windows\Controls\TreeViewItem.cs (7)
349
Helper.ComputeCorrectionFactor(ParentTreeView, this,
ItemsHost
, HeaderElement);
374
Helper.ApplyCorrectionFactorToPixelHeaderSize(ParentTreeView, this,
ItemsHost
, ref pixelHeaderSize);
387
return Helper.ApplyCorrectionFactorToItemDesiredSizes(this,
ItemsHost
);
399
return
ItemsHost
;
927
VirtualizingPanel vp =
ItemsHost
as VirtualizingPanel;
1032
VirtualizingPanel virtualizingPanel = item.
ItemsHost
as VirtualizingPanel;
1033
item.
ItemsHost
.EnsureGenerator();
System\Windows\Controls\VirtualizingPanel.cs (1)
345
Panel p = ic.
ItemsHost
;
System\Windows\Controls\VirtualizingStackPanel.cs (5)
1238
if (itemsControl.
ItemsHost
!= null && itemsControl.
ItemsHost
.IsVisible)
1240
result = ComputeFirstContainerInViewport(viewportElement, direction, itemsControl.
ItemsHost
, action, findTopContainer, out firstContainerOffsetFromViewport);
1260
innerPanel = itemsControl.
ItemsHost
;
6523
Panel scrollingPanel = (scrollingItemsControl == null) ? null : scrollingItemsControl.
ItemsHost
;
System\Windows\Input\KeyboardNavigation.cs (1)
2461
Panel itemsHost = tvi.
ItemsHost
;