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

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.

主站蜘蛛池模板: 阿荣旗| 汨罗市| 黔南| 托克托县| 彰武县| 永济市| 额济纳旗| 吐鲁番市| 台南县| 谢通门县| 精河县| 堆龙德庆县| 察哈| 古丈县| 宜昌市| 饶阳县| 江达县| 河南省| 彭泽县| 三都| 岳阳市| 镇安县| 嵊泗县| 宁陵县| 迁安市| 涞源县| 孟州市| 金堂县| 敖汉旗| 绍兴市| 涪陵区| 墨玉县| 海门市| 武陟县| 清新县| 罗定市| 顺昌县| 龙泉市| 温州市| 永吉县| 铜山县|