Beta 10.3 of C#/XAML for HTML5 released

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Beta 10.3 of C#/XAML for HTML5 released

Postby JS-Support @Userware » Sun Nov 06, 2016 7:44 am

Dear CSHTML5 users,

We are pleased to inform you that the Beta 10.3 of CSHTML5 is available for download!


You will find it in the "Attachments" section after this message.

Here is what's new since Beta 10.2:

  • New "HtmlCanvas" control for high-performance graphics!
    Please read the corresponding documentation at: http://cshtml5.com/links/how-to-use-the-html5-canvas.aspx
    It is located in the namespace "CSHTML5.Native.Html.Controls".
  • Added support for the .NET Framework version 4.6
  • Fixed "Array.Empty" compilation error
  • Ability to use the {Binding} markup element with fields in addition to properties
  • In XAML, ability to set the values of fields in addition to the value of properties
  • Improved the reliability of the "Control.Focus()" method
  • Fixed the regression introduced in Beta 10.2 that caused DataGrid.ItemsSource to raise an exception.
  • Fixed an issue that affected the arguments of Interop.ExecuteJavaScript()

You may also be interested to read:
- What's new in Beta 10.2
- What's new in Beta 10.1


Notes about installation:
  • Before installing this update, it is recommended that you close all the open instances of Visual Studio.
  • If for some reason you need to revert to the previous Beta, simply uninstall this one (from the Control Panel) and reinstall the previous Beta.


We hope you will enjoy this build!

If you find any issues, please post them on the forums or send an email to support@cshtml5.com

Thank you.
Regards,
JS-Support
Attachments
CSharpXamlForHtml5_v1_0_public_beta10_3.zip
(21.9 MiB) Downloaded 465 times

ATA
Posts: 4
Joined: Mon Nov 07, 2016 12:55 am

Re: New Beta 10.3 released! [Download]

Postby ATA » Mon Nov 07, 2016 1:01 am

Hello Team,

Thanks for the new release.

I had a query if ValidatesOnExceptions and NotifyOnValidationError is supported in this version for the textbox control.

Example :
<TextBox Canvas.Left="20" Canvas.Top="80" Height="23" HorizontalAlignment="Left" Margin="3" x:Name="txtAge" Text="{Binding Age, Mode=TwoWay , ValidatesOnExceptions=true, NotifyOnValidationError=true }" VerticalAlignment="Center" Width="120" />

To check if the value entered in the textbox is proper or not.

I tried but could not use the above mentioned property.

Thanks,
ATA

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: New Beta 10.3 released! [Download]

Postby JS-Support @Userware » Mon Nov 07, 2016 1:18 am

ATA wrote:I had a query if ValidatesOnExceptions and NotifyOnValidationError is supported in this version for the textbox control.


Not yet. It is currently in the roadmap for 2017. To have it implemented earlier:
- Please be sure to vote for it on:
https://cshtml5.uservoice.com/forums/274799-c-xaml-for-html5-feature-requests/suggestions/9204063-add-support-for-system-componentmodel-dataannotati
- You can fund the development of this feature to have it implemented in less than 3 weeks. If you are interested, please contact us at support@cshtml5.com - Several companies have been funding new features in the last few months.

Thanks a lot.
Regards,
JS-Support

Sesztak
Posts: 172
Joined: Fri Jun 24, 2016 2:19 am

Re: New Beta 10.3 released! [Download]

Postby Sesztak » Mon Nov 07, 2016 5:56 am

Dear JS-Support,

Great news and thanks !,
I confirm that the followings tried and fixed (with our test solution):

-Added support for the .NET Framework version 4.6 (tried: .NET 4.6.2)
-Fixed "Array.Empty" compilation error: no such an error message with v10.3 beta,
-DataGrid.ItemsSource: working again.

Best Regards,
Péter

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: New Beta 10.3 released! [Download]

Postby JS-Support @Userware » Tue Nov 08, 2016 1:10 am

Thank you Péter.

ATA
Posts: 4
Joined: Mon Nov 07, 2016 12:55 am

Re: New Beta 10.3 released! [Download]

Postby ATA » Wed Nov 09, 2016 12:34 am

Thank you team for all the fixes

footnick
Posts: 6
Joined: Mon Nov 16, 2015 9:21 am

Re: New Beta 10.3 released! [Download]

Postby footnick » Wed Nov 16, 2016 8:56 am

The new HTMLCanvas feature looks interested, but it would need a PathElement with matrix transforms to be useful for us. Is that planned?

Nick

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: New Beta 10.3 released! [Download]

Postby JS-Support @Userware » Wed Nov 16, 2016 9:31 am

footnick wrote:The new HTMLCanvas feature looks interested, but it would need a PathElement with matrix transforms to be useful for us. Is that planned?


Thanks. Yes. Can you please tell us exactly how the shape(s) in the PathElement should be described? For best performance, we should use a description that is close to how the html <canvas> element renders elements (link to html canvas documentation). The way the XAML <Path> elements are described (using the "Data" property or the <Geometry> tags) does not have the level of performance that we want to achieve with the native HtmlCanvas control.

footnick
Posts: 6
Joined: Mon Nov 16, 2015 9:21 am

Re: Beta 10.3 of C#/XAML for HTML5 released

Postby footnick » Wed Nov 30, 2016 9:43 am

JS-Support wrote:Thanks. Yes. Can you please tell us exactly how the shape(s) in the PathElement should be described? For best performance, we should use a description that is close to how the html <canvas> element renders elements (link to html canvas documentation). The way the XAML <Path> elements are described (using the "Data" property or the <Geometry> tags) does not have the level of performance that we want to achieve with the native HtmlCanvas control.

Sorry - I missed your question.

We have our own high level geometry types and would implement a suitable bridge. At the simplest level we can facet curves and output polygons for drawing. Perhaps you could base the geometry on the .NET StreamGeometryContext class which looks similar to the HTML Path ? It would also be good to support the XAML geometry markup fomat directly.

Thanks

Nick


Return to “Pre-Releases, Downloads and Announcements”

Who is online

Users browsing this forum: No registered users and 4 guests

 

 

cron