WebBrowser
Wisej.Web.WebBrowser
Last updated
Wisej.Web.WebBrowser
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a web browser control that enables the user to navigate web pages inside a form or a page.
Initializes a new instance of the WebBrowser class.
Initializes a new instance of the WebBrowser class with a URL as a string and an event handler for the DocumentCompleted event.
url
The URL of the webpage to be loaded in the WebBrowser as a string.
onDocumentCompleted
Initializes a new instance of the WebBrowser class with a specified location and size.
location
The location of the WebBrowser on its parent control.
size
The size of the WebBrowser.
onDocumentCompleted
Initializes a new instance of the WebBrowser class with the specified settings.
url
The URL of the webpage to be loaded in the WebBrowser as a string.
location
The location of the WebBrowser on its parent control.
size
The size of the WebBrowser.
onDocumentCompleted
BorderStyle: Indicates the border style for the control. (Default: Solid
)
Boolean: Returns or sets a value indicating whether scroll bars are displayed in the WebBrowser control. (Default: True
)
Uri: Returns or sets the URL of the current document. (Default: null
)
Throws:
ArgumentException The specified value when setting this property is not an absolute URI. For more information, see IsAbsoluteUri.
Navigates the WebBrowser control to the previous page in the navigation history, if one is available.
Due to IFrame security constraints, this method will not work when the source of the IFrame content is from a different domain.
Navigates the WebBrowser control to the next page in the navigation history, if one is available.
Due to IFrame security constraints, this method will not work when the source of the IFrame content is from a different domain.
Loads the document at the location indicated by the specified Uri into the WebBrowser control.
url
Throws:
ArgumentException The url parameter value does not represent an absolute URI. For more information, see IsAbsoluteUri.
Loads the document at the specified Uniform Resource Locator (URL) into the WebBrowser control.
url
The URL of the document to load.
WebBrowserDocumentCompletedEventHandler Fired when the WebBrowser control finishes loading a web page.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
An Action delegate to handle the event. Can be null.
An Action delegate to handle the event. Can be null.
An Action delegate to handle the event. Can be null.
A representing the URL of the document to load.
All wisej controls derived from the class must implement this interface.