官术网_书友最值得收藏!

Types of WPF applications

WPF applications can be of two types: desktop-based applications and web-based applications. The desktop applications are normal .EXE executables, whereas the web-based browser applications are the .XBAP files which can be deployed in web servers and run inside any supported browser. The .NET framework is mandatory to run any of these application outputs.

Each WPF application starts with two threads. The UI thread uses System.Threading.DispatcherObject to create the messaging system to maintain the queue of UI operations. Just like Win32 message pumping, it performs the UI operation sorted by the priority set to it. The other thread is the background thread to handle the rendering engine, which is being managed by WPF. It picks up a copy of the visual tree and performs action to show the visual components in the Direct 3D surface. After that, it calls all UI elements to determine the size and arranges the child elements by their parents.

主站蜘蛛池模板: 吉首市| 东宁县| 贡嘎县| 潮安县| 凤山县| 德庆县| 遂平县| 屏南县| 崇明县| 石首市| 土默特右旗| 屏边| 阜平县| 广宁县| 安达市| 永清县| 东安县| 普兰店市| 石渠县| 安溪县| 博野县| 海阳市| 西城区| 古浪县| 沧源| 南漳县| 墨江| 宝坻区| 宝应县| 西林县| 雷波县| 南川市| 慈利县| 伊宁市| 通渭县| 衡阳市| 保靖县| 章丘市| 沁阳市| 米易县| 逊克县|