Clipboard api, and Windows Resize events?

Please post public support tickets here. Note: for private support tickets, please send an email to support@cshtml5.com instead.
binaryfish
Posts: 11
Joined: Fri Oct 23, 2015 3:08 am

Clipboard api, and Windows Resize events?

Postby binaryfish » Tue Nov 03, 2015 1:12 am

Hi

Does C#/HTML offer a clipboard api? Also, what about window resize events? There functions are supported in Javascript.

Thanks

Gavin

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

Re: Clipboard api, and Windows Resize events?

Postby JS-Support @Userware » Fri Nov 06, 2015 10:02 am

Hi Gavin,

Window resize events are already available. To use them, please see the following sample code:

Code: Select all

Window.Current.SizeChanged += Window_SizeChanged;


void Window_SizeChanged(object sender, Windows.UI.Core.WindowSizeChangedEventArgs e)
{
   double width = Window.Current.Bounds.Width;
}


As for the Clipboard API, it is on our short term roadmap. I have just created a new entry on UserVoice for it, please be sure to vote for it to ensure that it implemented as soon as possible:
http://cshtml5.uservoice.com/forums/274799-c-xaml-for-html5-feature-requests/suggestions/10581696-clipboard-api-support

Thanks a lot.
Regards,
JS-Support

binaryfish
Posts: 11
Joined: Fri Oct 23, 2015 3:08 am

Re: Clipboard api, and Windows Resize events?

Postby binaryfish » Fri Nov 06, 2015 5:15 pm

Thanks for the heads up. I will vote for the clipboard feature.

Regards

Gavin


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 32 guests

 

 

cron