42 references to Generator
PresentationFramework (42)
System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
405
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
418
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
460
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
477
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
492
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
System\Windows\Controls\VirtualizingPanel.cs (1)
397
return
Generator
;
System\Windows\Controls\VirtualizingStackPanel.cs (36)
1635
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
1695
IItemContainerGenerator generator =
Generator
;
2237
IItemContainerGenerator generator =
Generator
;
3358
IItemContainerGenerator generator =
Generator
;
3557
"stpos:", args.Position,
Generator
.IndexFromGeneratorPosition(args.Position),
3558
"oldpos:", args.OldPosition,
Generator
.IndexFromGeneratorPosition(args.OldPosition),
3654
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3669
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3678
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3679
int startOldIndex =
Generator
.IndexFromGeneratorPosition(args.OldPosition);
3712
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3806
IItemContainerGenerator generator =
Generator
;
4069
IItemContainerGenerator generator =
Generator
;
6323
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
6354
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
7535
itemStorageProvider.StoreItemValue(((ItemContainerGenerator)
Generator
).ItemFromContainer(child), ContainerSizeProperty, childSize);
7616
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
8850
Generator
.PrepareItemContainer(container);
8891
position =
Generator
.GeneratorPositionFromIndex(
Generator
.IndexFromGeneratorPosition(position) - 1);
8969
using (
Generator
.StartAt(args.Position, GeneratorDirection.Forward, true))
8975
UIElement child =
Generator
.GenerateNext(out newlyRealized) as UIElement;
8980
Generator
.PrepareItemContainer(child);
9143
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9185
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9214
System.Windows.Controls.ItemContainerGenerator generator =
Generator
as System.Windows.Controls.ItemContainerGenerator;
9231
GeneratorPosition position =
Generator
.GeneratorPositionFromIndex(dataIndex);
9327
IItemContainerGenerator generator =
Generator
;
9556
return((ItemContainerGenerator)
Generator
).ItemsInternal.Count;
11011
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
11110
items = ((ItemContainerGenerator)itemsHost.
Generator
).ItemsInternal;
11111
childItemIndex = ((ItemContainerGenerator)itemsHost.
Generator
).IndexFromContainer(child, returnLocalIndex);
11258
return
Generator
.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));
13026
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13054
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
13059
ItemContainerGenerator g = vsp.
Generator
as ItemContainerGenerator;