Public · Protected · Private
Silverlight Events
Type: Public  |  Created: 2009-12-07  |  Frozen: Yes
« Previous Public Blog Next Public Blog »
Comments
  • events: { onLoad: Silverlight.createDelegate(scene, scene.handleLoad) } Silverlight.createDelegate = function(instance, method) { return function() { return method.apply(instance, arguments); }
    2009-12-07 02:24
  • <Canvas MouseLeftButtonDown="Play" x:N... <Canvas MouseLeftButtonDown="JavaScript:Play" x:N.. function Play(sender, eventArgs) {...
    2009-12-07 02:38
  • handleLoad: function(control, userContext, rootElement) { this.control = control; rootElement.addEventListener("keyDown", Silverlight.createDelegate(this, this.handleKeyDown)); }, handleKeyDown: function(sender, keyEventArgs) { alert(keyEventArgs.key); }
    2009-12-07 02:45
  • How to go fullscreen.... handleMouseUp: function(sender, eventArgs) { host = sender.getHost(); host.content.fullscreen = !host.content.fullscreen; }
    2009-12-07 02:55
This blog is frozen. No new comments or edits allowed.