Clipboard api, and Windows Resize events?
Posted: Tue Nov 03, 2015 1:12 am
by binaryfish
Hi
Does C#/HTML offer a clipboard api? Also, what about window resize events? There functions are supported in Javascript.
Thanks
Gavin
Re: Clipboard api, and Windows Resize events?
Posted: Fri Nov 06, 2015 10:02 am
by JS-Support @Userware
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-supportThanks a lot.
Regards,
JS-Support
Re: Clipboard api, and Windows Resize events?
Posted: Fri Nov 06, 2015 5:15 pm
by binaryfish
Thanks for the heads up. I will vote for the clipboard feature.
Regards
Gavin