Click or drag to resize
Interop Class
Provides static methods for executing JavaScript code from within C#.
Inheritance Hierarchy
SystemObject
  CSHTML5Interop

Namespace: CSHTML5
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public static class Interop

The Interop type exposes the following members.

Methods
  NameDescription
Public methodStatic memberExecuteJavaScript(String)
Allows calling JavaScript code from within C#.
Public methodStatic memberExecuteJavaScript(String, Object)
Allows calling JavaScript code from within C#.
Public methodStatic memberGetDiv
Returns the HTML Div that is associated to the specified FrameworkElement. Note: the FrameworkElement must be in the visual tree. Consider calling this method from the 'Loaded' event to ensure that the element is in the visual tree.
Public methodStatic memberLoadCssFile
Adds a 'link' tag to the HTML page and waits for the CSS file to finish loading.
Public methodStatic memberLoadJavaScriptFile
Adds a 'script' tag to the HTML page and waits for the script to finish loading.
Top
Properties
  NameDescription
Public propertyStatic memberIsRunningInTheSimulator
Returns True is the app is running in C# inside the Simulator, and False otherwise.
Top
See Also