Enabling Single Cell Paging
Send Feedback

Glossary Item Box

Topic Overview

Purpose

This topic provides a conceptual overview of using single cell paging in the IGGridView™ control.

In this topic


Single Cell Paging

Introduction

The IGGridView’s single cell paging display mode makes each cell the size of the viewport. This optional mode is useful when you are displaying a photo or PDF viewer.


Enable Single Cell Paging on the IGGridView

Description

To use the single cell paging display mode on the IGGridView, you must first specify IGGridViewStyleSingleCellPaging as the style in the initializing method.

In Objective-C:

IGGridView *gridView = [[IGGridView alloc]initWithFrame:CGRectMake(0, 0, 500, 500) style:IGGridViewStyleSingleCellPaging];

In Objective-C:

IGGridView gridView = new IGGridView(new RectangleF(0,0, this.View.Frame.Size.Width, this.View.Frame.Size.Height), IGGridViewStyle.IGGridViewStyleSingleCellPaging);

The IGGridViewDelegate’s pageChanged method only pertains to single cell paging.

  • -(void)gridView:(IGGridView *)gridView pageChanged:(IGCellPath *)path

Use the pageChanged protocol method to notify you when displaying a new cell in the IGGridView.


Related Content

Topics

The following topic provides additional information related to this topic.

Topic

Purpose

The topics in this group cover the enabling, configuring, and using the features supported by the IGGridView control.