Export (0) Print
Expand All

HtmlWindow Methods

Silverlight

The HtmlWindow type exposes the following members.

  Name Description
Public method Alert Displays a dialog box that contains an application-defined message.
Public method AttachEvent(String, EventHandler) Attaches the specified .NET Framework event handler (EventHandler) to the specified event on the current Document Object Model (DOM) object. (Inherited from HtmlObject.)
Public method AttachEvent(String, EventHandler<HtmlEventArgs>) Attaches the specified .NET Framework event handler (EventHandler<TEventArgs>) to the specified event on the current Document Object Model (DOM) object. (Inherited from HtmlObject.)
Public method CheckAccess Determines whether the current thread is the browser's UI thread. (Inherited from ScriptObject.)
Public method Confirm Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.
Protected method ConvertTo(Type, Boolean) Converts the current object to a specified type. This method is not supported. (Inherited from HtmlObject.)
Public method ConvertTo<T>() Converts the current scriptable object to a specified type. (Inherited from ScriptObject.)
Public method CreateInstance Creates an instance of the specified JavaScript type.
Public method DetachEvent(String, EventHandler) Detaches the specified.NET Framework event handler (EventHandler) from the specified event on the current Document Object Model (DOM) object. (Inherited from HtmlObject.)
Public method DetachEvent(String, EventHandler<HtmlEventArgs>) Detaches the specified .NET Framework event handler (EventHandler<TEventArgs>) from the specified event on the current Document Object Model (DOM) object. (Inherited from HtmlObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Eval Evaluates a string that contains arbitrary JavaScript code.
Protected method Finalize Frees resources and performs other cleanup operations before the scriptable object is reclaimed by garbage collection. (Inherited from ScriptObject.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetProperty(Int32) Gets the value of a property that is identified by ordinal number on the current scriptable object. (Inherited from ScriptObject.)
Public method GetProperty(String) Gets the value of a property that is identified by name on the current scriptable object. (Inherited from ScriptObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Infrastructure. Initializes a scriptable object. (Inherited from ScriptObject.)
Public method Invoke Invokes a method on the current scriptable object, and optionally passes in one or more method parameters. (Inherited from ScriptObject.)
Public method InvokeSelf Invokes the current ScriptObject and assumes that it represents a JavaScript method. (Inherited from ScriptObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Navigate(Uri) Opens the specified page in the current browser.
Public method Navigate(Uri, String) Opens the specified page in the specified browser instance.
Public method Navigate(Uri, String, String) Opens the specified page in the specified browser instance, with the indicated user interface features.
Public method NavigateToBookmark Changes the URL of the current page to a location that is specified by a named bookmark.
Public method Prompt Displays a dialog box that prompts the user with a message and an input field.
Public method SetProperty(Int32, Object) Sets the value of a property that is identified by ordinal number on the current scriptable object. (Inherited from ScriptObject.)
Public method SetProperty(String, Object) Sets a property that is identified by name on the current scriptable object. (Inherited from ScriptObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IDynamicMetaObjectProvider.GetMetaObject Returns the DynamicMetaObject responsible for binding operations performed on this object. (Inherited from ScriptObject.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft