.NET Framework Class Library for Silverlight
HtmlWindow Members

Provides the managed representation of the JavaScript window object.

The HtmlWindow type exposes the following members.

Methods

  NameDescription
Public methodAlertDisplays a dialog box that contains an application-defined message.
Public methodAttachEventOverloaded. Attaches a .NET Framework event handler to an event on the current Document Object Model (DOM) object.
Public methodCheckAccessDetermines whether the current thread is the browser's UI thread. (Inherited from ScriptObject.)
Public methodConfirmDisplays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.
Protected methodConvertToConverts the current object to a specified type. This method is not supported. (Inherited from HtmlObject.)
Public methodConvertTo<(Of <(T>)>)Converts the current scriptable object to a specified type. (Inherited from ScriptObject.)
Public methodCreateInstanceCreates an instance of the specified JavaScript type.
Public methodDetachEventOverloaded. Detaches a .NET Framework event handler from an event on the current Document Object Model (DOM) object.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodEvalEvaluates a string that contains arbitrary JavaScript code.
Protected methodFinalizeFrees resources and performs other cleanup operations before the scriptable object is reclaimed by garbage collection. (Inherited from ScriptObject.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetPropertyOverloaded. Gets the value of a property on the current scriptable object.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeInfrastructure. Initializes a scriptable object. (Inherited from ScriptObject.)
Public methodInvokeInvokes a method on the current scriptable object, and optionally passes in one or more method parameters. (Inherited from ScriptObject.)
Public methodInvokeSelfInvokes the current ScriptObject and assumes that it represents a JavaScript method. (Inherited from ScriptObject.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNavigateOverloaded. Opens a new page in the browser.
Public methodNavigateToBookmarkChanges the URL of the current page to a location that is specified by a named bookmark.
Public methodPromptDisplays a dialog box that prompts the user with a message and an input field.
Public methodSetPropertyOverloaded. Sets a property on the current scriptable object.
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
Properties

  NameDescription
Public propertyCurrentBookmarkGets or sets a string that represents the hash value of the current page's URL.
Public propertyDispatcherGets an instance of the dispatcher. (Inherited from ScriptObject.)
Public propertyManagedObjectGets the underlying managed object reference of the ScriptObject. (Inherited from ScriptObject.)
Top
See Also

Reference

Tags :


Page view tracker