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
object ← MarshalByRefObject ← Component ← Control ← ScrollableControl ← ContainerControl ← PageControl
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
ActivePageIndex
Gets or sets the index of active page.
[Browsable(false)]
public int ActivePageIndex { get; set; }
Property Value
HighlightPageIndex
Gets or sets the highlighted page index.
public int HighlightPageIndex { get; set; }
Property Value
Padding
This property is not relevant to this class
[Browsable(false)]
public Padding Padding { get; set; }
Property Value
Pages
Gets the collection of pages.
[Browsable(false)]
public Control.ControlCollection Pages { get; }
Property Value
SelectorTabHeight
Gets or sets the height of selector tab.
public int SelectorTabHeight { get; set; }
Property Value
SelectorWidth
Gets or sets a value that determines whether the selector area is visible or not.
public int SelectorWidth { get; set; }
Property Value
Methods
GetTabAt(Point)
Gets tab at specified mouse point.
public int GetTabAt(Point pt)
Parameters
pt
Point
The mouse point.
Returns
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
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
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
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
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