Page

Wisej.Web.Page

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time.

public class Page : ContainerControl, IWisejWindow

To show the page assign it to the MainPage property.

Constructors

Initializes a new instance of the Page class.

Initializes a new instance of the Page class with the specified initial settings.

Properties

IButtonControl: Returns or sets the button that is clicked when the user presses the ENTER key. (Default: null)

Boolean: Returns true if this page instance is the currently active page. It is the same as comparing the instance with MainPage.

Page: Returns the currently active page for this application. It's the same as MainPage, it is added to be consistent with ActiveForm.

Boolean: Returns or sets whether the container enables the user to scroll to any controls placed outside of its visible boundaries. (Default: False)

AutoValidate: Returns or sets how the control performs validation when the user changes focus to another control.

IButtonControl: Returns or sets the button control that is clicked when the user presses the ESC key. (Default: null)

Int32: Returns or sets the height of the page.

Size: Returns the height and width of the page.

String: Returns or sets the title of the Page. If the page is the main page, setting the text also changes the title in the browser. (Default: "")

Int32: Returns or sets the width of the page.

Methods

Validates all selectable child controls in the container, including descendants. This is equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See Selectable for details of exactly which child controls will be validated.

Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.

Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .

Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.

Events

EventHandler Fired when the page becomes active, and it's the new MainPage.

EventHandler Fired when the page is deactivated and it's no longer the MainPage.

EventHandler Fired before the control becomes visible for the first time.

Implements

Last updated