Beta 11.4 of C#/XAML for HTML5 released

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

Beta 11.4 of C#/XAML for HTML5 released

Postby JS-Support » Fri Apr 14, 2017 10:39 am

Dear CSHTML5 users,

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


Download:
CSharpXamlForHtml5_v1_0_public_beta11_4.zip
(22.77 MiB) Downloaded 32 times


Here is what's new since Beta 11.3:

  • Support for animating Width and Height
  • Support for programmatically creating and running storyboards and animations
  • Support for the "Storyboard.Completed" event
  • New constructor of the "PropertyPath" class that takes a "DependencyProperty" as argument
  • Fixed an issue where Binding an overridden property did not work
  • Fixed an issue where the System.Reflection "GetProperty" method did not work properly with overridden properties

Here is an example of programmatic storyboard/animation:

Code: Select all

private void Button_Click(object sender, RoutedEventArgs e)
{
    DoubleAnimation doubleAnimation = new DoubleAnimation();
    doubleAnimation.Duration = new Duration(new TimeSpan(0, 0, 0, 3, 0));
    Storyboard storyBoard = new Storyboard();
    storyBoard.Children.Add(doubleAnimation);
    Storyboard.SetTarget(doubleAnimation, ELEMENT_TO_ANIMATE_GOES_HERE);
    Storyboard.SetTargetProperty(doubleAnimation, new PropertyPath(FrameworkElement.WidthProperty));
    doubleAnimation.To = 500;
    storyBoard.Begin();
    storyBoard.Completed += StoryBoard_Completed;
}

void StoryBoard_Completed(object sender, EventArgs e)
{
    MessageBox.Show("The Storyboard has finished running.");
}



You may also be interested to read:


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

zemorango
Posts: 35
Joined: Tue Feb 02, 2016 6:30 am

Re: New Beta 11.4 released! [Download]

Postby zemorango » Sat Apr 15, 2017 5:27 am

Great job, really nice to see this project evolved :)


Return to “Pre-Releases, Downloads and Announcements”

Who is online

Users browsing this forum: No registered users and 2 guests