Table of Contents

Class PageControl

Namespace: FastReport.Olap.FrControls
Assembly: FastCube.Mono.dll

Represents a control that may contain several pages. It is similar to the TabControl but contains no tabs. This control is widely used in wizards.

public class PageControl : ContainerControl

Inheritance

objectMarshalByRefObjectComponentControlScrollableControlContainerControlPageControl

Constructors

PageControl()

Initializes a new instance of the FastReport.Olap.FrControls.PageControl class with default settings.

public PageControl()

Properties

ActivePage

Gets or sets the active page.

[Browsable(false)]
public Panel ActivePage { get; set; }

Property Value

Panel

ActivePageIndex

Gets or sets the index of active page.

[Browsable(false)]
public int ActivePageIndex { get; set; }

Property Value

int

HighlightPageIndex

Gets or sets the highlighted page index.

public int HighlightPageIndex { get; set; }

Property Value

int

Padding

This property is not relevant to this class

[Browsable(false)]
public Padding Padding { get; set; }

Property Value

Padding

Pages

Gets the collection of pages.

[Browsable(false)]
public Control.ControlCollection Pages { get; }

Property Value

Control.ControlCollection

SelectorTabHeight

Gets or sets the height of selector tab.

public int SelectorTabHeight { get; set; }

Property Value

int

SelectorWidth

Gets or sets a value that determines whether the selector area is visible or not.

public int SelectorWidth { get; set; }

Property Value

int

Methods

GetTabAt(Point)

Gets tab at specified mouse point.

public int GetTabAt(Point pt)

Parameters

pt Point

The mouse point.

Returns

int

Index of tab under mouse; -1 if mouse is outside tab area.

OnMouseLeave(EventArgs)

Raises the System.Windows.Forms.Control.MouseLeave event.

protected override void OnMouseLeave(EventArgs e)

Parameters

e EventArgs

An System.EventArgs that contains the event data.

OnMouseMove(MouseEventArgs)

Raises the System.Windows.Forms.Control.MouseMove event.

protected override void OnMouseMove(MouseEventArgs e)

Parameters

e MouseEventArgs

A System.Windows.Forms.MouseEventArgs that contains the event data.

OnMouseUp(MouseEventArgs)

Raises the System.Windows.Forms.Control.MouseUp event.

protected override void OnMouseUp(MouseEventArgs e)

Parameters

e MouseEventArgs

A System.Windows.Forms.MouseEventArgs that contains the event data.

OnPaint(PaintEventArgs)

Raises the System.Windows.Forms.Control.Paint event.

protected override void OnPaint(PaintEventArgs e)

Parameters

e PaintEventArgs

A System.Windows.Forms.PaintEventArgs that contains the event data.

SelectNextPage()

Selects the next page.

public void SelectNextPage()

SelectPrevPage()

Selects the previous page.

public void SelectPrevPage()

PageSelected

Occurs when page is selected.

public event EventHandler PageSelected

Event Type

EventHandler