发现一个 WPF/E Asp.net Server Control

    今天早晨起来的太早了,还不到7点就起来了,出去给老婆买了一包热奶送去。老婆的胃最近总是不舒服胃胀,感觉不消化,真是让我心疼。不知道有没有治疗胃疼的特效药。

    回来头看了Mike Harsh 的博客,发现一个好东西 WPF/E 的 Asp.net server control。看了她的介绍,可以方便的在 VS.net2005 里面做开发。下面给张 Controls 贴图:


 

    下面是Mike Harsh 对control属性的一些说明:

    • BackgroundColor - The string representing the background color of the WPF/E plug-in.  Any string representation of a Color that is valid in XAML is valid here.

    • ErrorHandler - The string name of a javascript method that handles the WPF/E plug-in's error event.

    • HostFilePath - The string path to the agHost.js file used by the control.  By default the control will point to an agHost.js file on Channel9.

    • MaxFramerate - The maximum framerate the WPF/E plug-in will attempt to render the content.  This defaults to 30.

    • Source - The string path of the XAML file used by the WPF/E plug-in.

    • ScriptSource - The string path of a javascript file with event handlers for the XAML.

    • UseChannel9HostFile - A bool to determine if the control references the agHost.js from Channel9.  This defaults to true.  If it is false, the HostFilePath property will be used to find an agHost.js file.

    • WindowlessMode - A bool to determine whether the WPF/E plug-in runs in windowless mode.  Defaults to false.

    他提供了control的源码下载和一个示例网站的下载,下面给出链接,感兴趣的朋友下载看看:

   控件源代码: http://www.simplegeek.com/mharsh/wpfewebcontrol/Cu...
示例程序代码:http://www.simplegeek.com/mharsh/wpfewebcontrol/sm...

posted on 2006-12-21 08:38  JesseZhao  阅读(2530)  评论(15编辑  收藏  举报

导航