1 write to
PresentationFramework (1)
src\Framework\System\Windows\Controls\UIElementCollection.cs (1)
474
this
[
index] = Cast(value);
106 references to
PresentationFramework (94)
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
358
UIElement uiElement = this.InkCanvas.Children
[
x];
src\Framework\System\Windows\Controls\DataGrid.cs (2)
6442
row = itemsHost.Children
[
i] as DataGridRow;
6491
row = itemsHost.Children
[
i] as DataGridRow;
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (6)
656
Debug.Assert(child == InternalChildren
[
childIndex], "Wrong child was generated");
708
if (isRecycled && visualTreeIndex < children.Count && children
[
visualTreeIndex] == container)
722
Debug.Assert(children
[
visualTreeIndex] != null, "MoveVisualChild interprets a null destination as 'move to end'");
777
if (children
[
i] == child)
1184
visualChild = children
[
i];
1970
_realizedChildren.Add(children
[
i]);
src\Framework\System\Windows\Controls\DockPanel.cs (2)
225
UIElement child = children
[
i];
290
UIElement child = children
[
i];
src\Framework\System\Windows\Controls\Grid.cs (12)
438
UIElement child = children
[
i];
737
UIElement child = children
[
i];
759
UIElement cell = children
[
currentCell];
965
UIElement child = children
[
i];
1284
double oldWidth = children
[
i].DesiredSize.Width;
1288
hasDesiredSizeUChanged |= !DoubleUtil.AreClose(oldWidth, children
[
i].DesiredSize.Width);
1294
DefinitionsU[PrivateCells[i].ColumnIndex].UpdateMinSize(Math.Min(children
[
i].DesiredSize.Width, DefinitionsU[PrivateCells[i].ColumnIndex].UserMaxSize));
1303
children
[
i].DesiredSize.Width);
1311
DefinitionsV[PrivateCells[i].RowIndex].UpdateMinSize(Math.Min(children
[
i].DesiredSize.Height, DefinitionsV[PrivateCells[i].RowIndex].UserMaxSize));
1320
children
[
i].DesiredSize.Height);
1427
UIElement child = InternalChildren
[
cell];
4139
_currentChild = _enumerator2Collection
[
_enumerator2Index];
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (10)
261
UIElement child = children
[
GetVisualIndex(i)];
351
UIElement child = children
[
GetVisualIndex(i)];
378
GridViewColumnHeader header = children
[
GetVisualIndex(i)] as GridViewColumnHeader;
703
header = (GridViewColumnHeader)children
[
start];
875
GridViewColumnHeader header = (GridViewColumnHeader)InternalChildren
[
GetVisualIndex(i)];
1003
header = (GridViewColumnHeader)InternalChildren
[
index];
1301
GridViewColumnHeader header = children
[
visualIndex] as GridViewColumnHeader;
1312
header = children
[
i] as GridViewColumnHeader;
1434
GridViewColumnHeader header = children
[
i] as GridViewColumnHeader;
1613
GridViewColumnHeader header = children
[
GetVisualIndex(i)] as GridViewColumnHeader;
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (6)
147
UIElement child = children
[
column.ActualIndex];
223
UIElement child = children
[
column.ActualIndex];
314
FrameworkElement cell = InternalChildren
[
index] as FrameworkElement;
330
ContentPresenter cp = InternalChildren
[
index] as ContentPresenter;
423
UIElement cell = children
[
indexList[i]];
651
cell = (FrameworkElement)children
[
i];
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
2871
uiElementArray[i] = uiElementCollection
[
i];
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
2514
FrameworkElement fe = children
[
i] as FrameworkElement;
src\Framework\System\Windows\Controls\Panel.cs (4)
392
return _uiElementCollection
[
visualIndex];
790
elements[i] = _uiElementCollection
[
fromPos.Index + i];
1027
int z = _uiElementCollection
[
i] != null
1028
? (int)_uiElementCollection
[
i].GetValue(ZIndexProperty)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (6)
357
CalendarDayButton b = dayButtonsHost
[
childIndex] as CalendarDayButton;
509
CalendarButton child = yearViewChildren
[
count - 1] as CalendarButton;
1028
FrameworkElement daytitle = _monthView.Children
[
childIndex] as FrameworkElement;
1058
CalendarDayButton childButton = _monthView.Children
[
childIndex] as CalendarDayButton;
1171
CalendarDayButton childButton = _monthView.Children
[
childIndex] as CalendarDayButton;
1191
CalendarDayButton childButton = _monthView.Children
[
childIndex] as CalendarDayButton;
src\Framework\System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
133
return _uiElementCollection
[
index];
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (5)
90
if (children
[
childrenIndex] != child)
111
UIElement child = children
[
i] as UIElement;
127
UIElement child = children
[
i] as UIElement;
172
Size sz = children
[
i].DesiredSize;
213
UIElement child = children
[
i];
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
152
Debug.Assert(children
[
childrenIndex] == child, "InternalChildren is out of sync with _generatedItemsCollection.");
199
Debug.Assert(children
[
childrenIndex] == child, "InternalChildren is out of sync with _generatedItemsCollection.");
215
if ((childrenIndex < childrenCount) && (children
[
childrenIndex] == child))
307
UIElement child = (UIElement)children
[
i];
377
UIElement child = children
[
i];
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (2)
189
UIElement child = InternalChildren
[
i];
281
UIElement child = InternalChildren
[
i];
src\Framework\System\Windows\Controls\Stack.cs (10)
598
UIElement child = children
[
i];
651
if (fHorizontal) { projectedLogicalVisibleSpace -= children
[
firstViewport - 1].DesiredSize.Width; }
652
else { projectedLogicalVisibleSpace -= children
[
firstViewport - 1].DesiredSize.Height; }
758
UIElement child = (UIElement)children
[
i];
850
? ((UIElement)children
[
i]).DesiredSize.Width
851
: ((UIElement)children
[
i]).DesiredSize.Height;
956
Size childDesiredSize = InternalChildren
[
childIndex].DesiredSize;
963
childDesiredSize = InternalChildren
[
i].DesiredSize;
982
newRect.Width = InternalChildren
[
childIndex].DesiredSize.Width;
988
newRect.Height = InternalChildren
[
childIndex].DesiredSize.Height;
src\Framework\System\Windows\Controls\UIElementCollection.cs (1)
470
return this
[
index];
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
428
IHierarchicalVirtualizationAndScrollInfo virtualizingChild = children
[
i] as IHierarchicalVirtualizationAndScrollInfo;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (10)
1153
FrameworkElement fe = children
[
i] as FrameworkElement;
4209
IHierarchicalVirtualizationAndScrollInfo virtualizingChild = children
[
i] as IHierarchicalVirtualizationAndScrollInfo;
8631
if (isRecycled && visualTreeIndex < children.Count && children
[
visualTreeIndex] == container)
8645
Debug.Assert(children
[
visualTreeIndex] != null, "MoveVisualChild interprets a null destination as 'move to end'");
8646
children.MoveVisualChild(container, children
[
visualTreeIndex]);
9049
_realizedChildren.Add(children
[
i]);
9096
Debug.Assert(_realizedChildren[i] == children
[
i], "Realized and visual children must match");
9122
if (children
[
i] == child)
9148
visualChild = children
[
i];
9294
return NotifyCleanupItem(children
[
childIndex], itemsControl);
src\Framework\System\Windows\Controls\WrapPanel.cs (3)
241
UIElement child = children
[
i] as UIElement;
301
UIElement child = children
[
i] as UIElement;
350
UIElement child = children
[
i] as UIElement;
src\Framework\System\Windows\Documents\FixedPage.cs (4)
747
return _uiElementCollection
[
index];
877
uiElement = elementCollection
[
i];
921
DependencyObject element = this.Children
[
currentLevelIndex];
931
element = ((Canvas)element).Children
[
currentLevelIndex];
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
650
Control control = (Control)_canvasChildren
[
i];
System.Activities.Presentation (12)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (3)
83
if (str.Contains((panel.Children
[
this.index] as CheckBox).Content.ToString().ToUpperInvariant()))
99
if ((i != this.index && ((bool)(panel.Children
[
i] as CheckBox).IsChecked)) ||
106
str += (panel.Children
[
i] as CheckBox).Content.ToString();
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (4)
187
UIElement child = InternalChildren
[
i];
191
InternalChildren
[
i].Measure(new Size(lastChildWidth, availableSize.Height));
195
InternalChildren
[
i].Measure(new Size(availableWidth, availableSize.Height));
221
UIElement child = InternalChildren
[
i];
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (5)
331
Size size = Children
[
i].DesiredSize;
332
if (Children
[
i].GetType() == typeof(Connector))
334
((UIElement)Children
[
i]).Arrange(new Rect(pt, size));
338
pt = FreeFormPanel.GetLocation(Children
[
i]);
339
((UIElement)Children
[
i]).Arrange(new Rect(pt, size));