PageExtensions
Wisej.Web.Markup.PageExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.PageExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds extension methods to the class.
Sets the accept button for the specified control.
TPage
page
The page for which to set the accept button.
acceptButton
The button to be set as the accept button for the page.
Returns: . The page with the updated accept button.
This method allows you to specify a button that will be triggered when the user presses the Enter key.
TPage
page
The page for which to set the Active property.
value
A boolean indicating whether the page is active.
This method allows you to mark a page as active or inactive using a fluent interface.
TPage
page
The page for which to set the cancel button.
cancelButton
The button to be set as the cancel button for the page.
This method allows you to specify a button that will be triggered when the user presses the Escape key.
Attaches an action to the Activated event of a page.
TPage
page
The page instance to attach the event to.
action
The action to execute when the page is activated.
This method allows you to execute a specific action when the page's Activated event is triggered.
Attaches an action to the Deactivate event of a page.
TPage
page
The page instance to attach the event to.
action
The action to execute when the page is deactivated.
This method allows you to execute a specific action when the page's Deactivate event is triggered.
Attaches an action to the Load event of a page.
TPage
page
The page instance to attach the event to.
action
The action to execute when the page is loaded.
This method allows you to execute a specific action when the page's Load event is triggered.
The type of the page, which must inherit from .
Sets the Active property of the specified .
The type of the page, must inherit from .
Returns: . The modified page with the updated Active property.
Sets the cancel button for the specified control.
The type of the page, which must inherit from .
Returns: . The page with the updated cancel button.
The type of the page, which must inherit from .
Returns: . The page instance with the attached Activated event action.
The type of the page, which must inherit from .
Returns: . The page instance with the attached Deactivate event action.
The type of the page, which must inherit from .
Returns: . The page instance with the attached Load event action.