Page strategy which loads new pages based on a regular 2D grid.
The grid can be up to 65536 x 65536 cells in size. PageIDs are generated like this: (row * 65536) + col. The grid is centred around the grid origin, such that the boundaries of the cell around that origin are [-CellSize/2, CellSize/2)
Наследование: Axiom.Components.Paging.PageStrategy
Пример #1
0
 protected void CreateStandardStrategies()
 {
     this.mGrid2DPageStrategy = new Grid2PageStrategy(this);
     AddStrategy(this.mGrid2DPageStrategy);
 }
Пример #2
0
		protected void CreateStandardStrategies()
		{
			this.mGrid2DPageStrategy = new Grid2PageStrategy( this );
			AddStrategy( this.mGrid2DPageStrategy );
		}