40 references to Generator
PresentationFramework (40)
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (5)
415
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
428
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
470
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
487
ItemContainerGenerator icg =
Generator
as ItemContainerGenerator;
502
IItemContainerGenerator generator = (IItemContainerGenerator)
Generator
;
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
449
return
Generator
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (34)
1591
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
1651
IItemContainerGenerator generator =
Generator
;
2192
IItemContainerGenerator generator =
Generator
;
3302
IItemContainerGenerator generator =
Generator
;
3594
int startOldIndex =
Generator
.IndexFromGeneratorPosition(args.OldPosition);
3609
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3618
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3619
int startOldIndex =
Generator
.IndexFromGeneratorPosition(args.OldPosition);
3652
int startIndex =
Generator
.IndexFromGeneratorPosition(args.Position);
3745
IItemContainerGenerator generator =
Generator
;
3992
IItemContainerGenerator generator =
Generator
;
6190
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
6221
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
7400
itemStorageProvider.StoreItemValue(((ItemContainerGenerator)
Generator
).ItemFromContainer(child), ContainerSizeProperty, childSize);
7481
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
8697
Generator
.PrepareItemContainer(container);
8738
position =
Generator
.GeneratorPositionFromIndex(
Generator
.IndexFromGeneratorPosition(position) - 1);
8816
using (
Generator
.StartAt(args.Position, GeneratorDirection.Forward, true))
8822
UIElement child =
Generator
.GenerateNext(out newlyRealized) as UIElement;
8827
Generator
.PrepareItemContainer(child);
8990
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9032
CleanupRange(children,
Generator
, cleanupRangeStart, cleanupCount);
9061
System.Windows.Controls.ItemContainerGenerator generator =
Generator
as System.Windows.Controls.ItemContainerGenerator;
9079
GeneratorPosition position =
Generator
.GeneratorPositionFromIndex(dataIndex);
9178
IItemContainerGenerator generator =
Generator
;
9407
return((ItemContainerGenerator)
Generator
).ItemsInternal.Count;
10869
ItemContainerGenerator generator = (ItemContainerGenerator)
Generator
;
10968
items = ((ItemContainerGenerator)itemsHost.
Generator
).ItemsInternal;
10969
childItemIndex = ((ItemContainerGenerator)itemsHost.
Generator
).IndexFromContainer(child, returnLocalIndex);
11125
return
Generator
.IndexFromGeneratorPosition(new GeneratorPosition(childIndex, 0));
12865
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
12893
ItemContainerGenerator g =
Generator
as ItemContainerGenerator;
12898
ItemContainerGenerator g = vsp.
Generator
as ItemContainerGenerator;