System.Windows.Browser Namespace
Microsoft Silverlight will reach end of support after October 2021. Learn more.
The System.Windows.Browser namespace provides classes that enable the interaction between managed code and JavaScript in Silverlight-based applications. This functionality is referred to as the HTML Bridge.
Classes
Class | Description | |
---|---|---|
![]() |
BrowserInformation | Provides general information about the browser, such as name, version, and operating system. |
![]() |
HtmlDocument | Represents the HTML document in the browser. |
![]() |
HtmlElement | Represents an HTML element in the Document Object Model (DOM) of a Web page. |
![]() |
HtmlEventArgs | Provides event details to event handlers. |
![]() |
HtmlObject | Provides methods for browser elements that are explicitly supplied by the HTML features exposed by Silverlight. |
![]() |
HtmlPage | Permits access to, and manipulation of, the browser's Document Object Model (DOM). |
![]() |
HtmlPopupWindowOptions | Provides options to control pop-up windows. |
![]() |
HtmlWindow | Provides the managed representation of the JavaScript window object. |
![]() |
HttpUtility | Provides methods for encoding and decoding HTML and URL strings. |
![]() |
ScriptableMemberAttribute | Indicates that a specific property, method, or event is accessible to JavaScript callers. |
![]() |
ScriptableTypeAttribute | Indicates that all public properties, methods, and events on a managed type are available to JavaScript code when they are registered by using the RegisterCreateableType method. |
![]() |
ScriptObject | Defines the core behavior for the HtmlObject class, and provides a base class for browser Document Object Model (DOM) access types. |
![]() |
ScriptObjectCollection | Provides a thread-safe wrapper for obtaining and iterating Document Object Model (DOM) collections. |
Delegates
Delegate | Description | |
---|---|---|
![]() |
ScriptEventHandler | Gets a reference to the JavaScript object that raised the event. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
MouseButtons | Specifies constants that indicate which mouse button was clicked. |