Dear rkmore, Yes, mixing HTML markup with the generated elements is very easy to do. EDIT (2017): There is now an even simpler way, which is to use the "HtmlPresenter" class, like this: <HtmlPresenter Html="<canvas id="demo_canvas" Style="width:100%;h...
Hi hamej, Thanks for your message. You can easily change the color of the ListBox selected item by changing the value of the "SelectedItemBackgroundBrush" property: You can set it either in XAML or in C#. Here is an example in C#: ListBox1.SelectedItemBackgroundBrush = new SolidColorBrush(...
Hi, As far as the Telerik controls are concerned, I see 2 possibilities for the future: 1) Either Telerik compiles its proprietary C#/XAML source code with CSHTML5 (with or without using JS in the internal implementation for their controls) 2) Or the community creates a library of controls that prov...
Hi, Sure. The equivalent of "HtmlPage.Window.Eval" is the following: (requires v1.0 Beta 7.2 or newer) ScreenWidth = Convert.ToDouble(CSHTML5.Interop.ExecuteJavaScript("screen.width")); ScreenHeight = Convert.ToDouble(CSHTML5.Interop.ExecuteJavaScript("screen.height"));...
Hi, Thanks. I couldn't reproduce the issue with the following code: <Page x:Class="Application2.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:Application2" ...
Thanks for reporting this issue. If you could manage to isolate the lines of code that cause the issue, or provide us with some sample code to reproduce the issue, it would greatly help.
Thanks a lot labbr01! 1: Not yet. This is expected for Q2 2016. We are also working on an option that gives you the ability to remove the phone appearance altogether, in order to simulate a resizable web browser window. 2: Beta 7.3, which is expected in the coming weeks, will let you use relative re...
Dear CSHTML5 users, I am pleased to inform you of the release of the FileOpenDialog Extension for CSHTML5. It adds the ability to let the user pick a file using the "Open File..." dialog of the browser. It can also be used for example in conjunction with the ZipFile Extension to load a ZIP...
Dear CSHTML5 users, I am pleased to inform you of the release of the ZipFile Extension for CSHTML5. It adds the ability to create ZIP files and to read ZIP files. It attempts to mimic the API of Ionic.Zip (DotNetZip) so as to make it easier to migrate existing C# projects to CSHTML5. You can use it ...
Dear CSHTML5 users, I am pleased to inform you of the release of this extension for CSHTML5. It adds the ability to save files locally via the "Save As..." dialog of the browser . Please note that some browsers will directly save the files to the "Downloads" folder without asking...
Hi Thanks a lot for your message. 1) yes, support will come in the form of an open source project that is going to wrap the 3rd party JavaScript-based libraries into a thin C#/XAML-based wrapper to allow to consume them in C#/XAML in a CSHTML5 project. You can see this concept in action by looking a...
Hello RKM, Sure. You can use either the CSHTML5 symbol, or the CSharpXamlForHtml5 symbol. Both will work. Here is an example: #if CSHTML5 MessageBox.Show("This is a message in CSHTML5."); #else var x = new MessageDialog("This is a message in Universal Windows Platform."); x.ShowA...