發現一個 WPF/E Asp.net Server Control

來源:互聯網
上載者:User

    今天早晨起來的太早了,還不到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...

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.