HtmlPage Member of the. NET Framework class library for Silverlight
Allows you to access and manipulate the Document Object Model (DOM) of a browser ).
The following members are public for the HtmlPage type.
Method
|
Name |
Description |
|
PopupWindow |
Open a pop-up window. |
|
RegisterCreateableType |
Register a hosting type to be created from JavaScript code through the Content. services. createObject and Content. services. createManagedObject helper methods. |
|
RegisterScriptableObject |
Register managed objects for Scriptable access through JavaScript code. |
|
UnregisterCreateableType |
Explicitly cancel the registration of the managed type previously registered using the RegisterCreateableType method. |
Top attributes
|
Name |
Description |
|
BrowserInformation |
Obtain general information about the browser, such as the name, version, and operating system. |
|
Document |
Obtain the document Object of the browser. |
|
IsEnabled |
Gets a value indicating whether to enable other public images of the HTML bridge function. |
|
Ispopupappswallowed |
Indicates whether a pop-up window is allowed. |
|
Plugin |
Gets a reference to the Silverlight plug-in defined in the <object> or <embed> tag on the host HTML page. |
|
Window |
Obtain the window object of the browser. |
HtmlDocument Member
HTML document in the browser.
The HtmlDocument type exposes the following members.
Method
|
Name |
Description |
|
AttachEvent |
Overloaded. Attaches the. NET Framework event handler to the event of the current Document Object Model (DOM) object. |
|
CheckAccess |
Determine whether the current thread is the UI thread of the browser. (Inherited from ScriptObject .) |
|
Convertor |
Converts the current object to a specified type. This method is not supported. (Inherited from HtmlObject .) |
|
Convertor <T> |
Converts the current Scriptable object to a specified type. (Inherited from ScriptObject .) |
|
CreateElement |
Create a browser element. |
|
DetachEvent |
Overloaded. Separates the. NET Framework event handler from the events on the current Document Object Model (DOM) object. |
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object .) |
|
Finalize |
Release resources and perform other cleanup operations before you recycle Scriptable objects through garbage collection. (Inherited from ScriptObject .) |
|
GetElementById |
Obtain a single browser element. |
|
GetElementsByTagName |
Obtains a set of browser elements. |
|
GetHashCode |
Used as a hash function of a specific type. (Inherited from Object .) |
|
GetProperty |
Overloaded. Obtain the property value of the currently Scriptable object. |
|
GetType |
Obtain the Type of the current instance. (Inherited from Object .) |
|
Initialize |
Infrastructure. Initialize a Scriptable object. (Inherited from ScriptObject .) |
|
Invoke |
Call a method for the currently Scriptable object, and you can choose to pass in one or more method parameters. (Inherited from ScriptObject .) |
|
InvokeSelf |
Call the current ScriptObject and assume it represents a JavaScript method. (Inherited from ScriptObject .) |
|
MemberwiseClone |
Creates a superficial copy of the current Object. (Inherited from Object .) |
|
SetProperty |
Overloaded. Set the attributes of the currently Scriptable object. |
|
Submit |
Overloaded. Send user data to the server. |
|
ToString |
Returns the String of the current Object. (Inherited from Object .) |
Top attributes
|
Name |
Description |
|
Body |
Obtains reference to the BODY element of an HTML document. |
|
Cookies |
Obtain or set the Cookie string of the browser. |
|
Dispatcher |
Obtain the scheduler instance. (Inherited from ScriptObject .) |
|
DocumentElement |
Obtain the reference to the DOCUMENT element of the browser. |
|
DocumentUri |
Obtain the Uniform Resource Identifier (URI) object, which represents the HTML document that carries the Silverlight plug-in. |
|
IsReady |
Gets or sets a value that indicates whether the browser has fully loaded the HTML page. |
|
ManagedObject |
Obtain the reference of the basic managed object of ScriptObject. (Inherited from ScriptObject .) |
|
QueryString |
Sets a set of navigable read-only name/value pairs. These name/value pairs indicate query string parameters on the URL of the current page. |
Top event
|
Name |
Description |
|
DocumentReady |
Occurs when the browser page is fully loaded. |