42 references to Generator
PresentationFramework (42)
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
414
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
427
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
469
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
486
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
501
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
System\Windows\Controls\VirtualizingPanel.cs (1)
403
return
Generator
;
System\Windows\Controls\VirtualizingStackPanel.cs (36)
1640
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
1700
IItemContainerGenerator generator =
Generator
;
2242
IItemContainerGenerator generator =
Generator
;
3363
IItemContainerGenerator generator =
Generator
;
3562
"stpos:", args.Position,
Generator
.IndexFromGeneratorPosition(args.Position),
3563
"oldpos:", args.OldPosition,
Generator
.IndexFromGeneratorPosition(args.OldPosition),
3659
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3674
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3683
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3684
int startOldIndex =
Generator
.IndexFromGeneratorPosition(args.OldPosition);
3717
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3811
IItemContainerGenerator generator =
Generator
;
4074
IItemContainerGenerator generator =
Generator
;
6328
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
6359
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
7540
itemStorageProvider.StoreItemValue(((ItemContainerGenerator)
Generator
).ItemFromContainer(child), ContainerSizeProperty, childSize);
7621
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
8855
Generator
.PrepareItemContainer(container);
8896
position =
Generator
.GeneratorPositionFromIndex(
Generator
.IndexFromGeneratorPosition(position) - 1);
8974
using (
Generator
.StartAt(args.Position, GeneratorDirection.Forward, true))
8980
UIElement child =
Generator
.GenerateNext(out newlyRealized) as UIElement;
8985
Generator
.PrepareItemContainer(child);
9148
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9190
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9219
System.Windows.Controls.ItemContainerGenerator generator =
Generator
as System.Windows.Controls.ItemContainerGenerator;
9236
GeneratorPosition position =
Generator
.GeneratorPositionFromIndex(dataIndex);
9332
IItemContainerGenerator generator =
Generator
;
9561
return((ItemContainerGenerator)
Generator
).ItemsInternal.Count;
11016
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
11115
items = ((ItemContainerGenerator)itemsHost.
Generator
).ItemsInternal;
11116
childItemIndex = ((ItemContainerGenerator)itemsHost.
Generator
).IndexFromContainer(child, returnLocalIndex);
11263
return
Generator
.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));
13031
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13059
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13064
ItemContainerGenerator g = vsp.
Generator
as ItemContainerGenerator;