Interop Class |
Namespace: CSHTML5
public static class Interop
The Interop type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | ExecuteJavaScript(String) |
Allows calling JavaScript code from within C#.
|
![]() ![]() | ExecuteJavaScript(String, Object) |
Allows calling JavaScript code from within C#.
|
![]() ![]() | GetDiv |
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.
|
![]() ![]() | LoadCssFile |
Adds a 'link' tag to the HTML page and waits for the CSS file to finish loading.
|
![]() ![]() | LoadJavaScriptFile |
Adds a 'script' tag to the HTML page and waits for the script to finish loading.
|
Name | Description | |
---|---|---|
![]() ![]() | IsRunningInTheSimulator |
Returns True is the app is running in C# inside the Simulator, and False otherwise.
|