Paginate Property

Sets or returns whether or not the form will be paginated.

public bool Paginate {
   get,
   set
}

Remarks

The Paginated event event is raised after form pagination occurs.

Note   Even if the Paginate property is set to false, pagination can still occur if the ControlToPaginate property is set.

Note   To allow pagination in a Panel within a form, you must set Paginate to true in both the form and the panel.

Example

The following example demonstrates how to use the Paginate property to specify that the form is paginated.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
   
   if Not IsPostBack

      Form1.Paginate = true
      
   End If

End Sub

[C#]

public void Page_Load(Object sender, EventArgs e)
{
   if (!IsPostBack)
   {
      Form1.Paginate = true;
   }
}

See Also

Applies to: Form Class