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

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

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


wpfecontrol_thumb%5B1%5D.png 

    下面是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...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值