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

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.

主站蜘蛛池模板: 南阳市| 富裕县| 叶城县| 桃源县| 平顶山市| 无极县| 循化| 西华县| 习水县| 梅河口市| 定襄县| 德庆县| 古交市| 义马市| 称多县| 金门县| 涪陵区| 昌乐县| 洛隆县| 华蓥市| 灵川县| 昔阳县| 临城县| 东丽区| 蛟河市| 漯河市| 章丘市| 渭南市| 措美县| 新丰县| 昆明市| 夏河县| 龙江县| 宣武区| 历史| 潍坊市| 广东省| 交城县| 新和县| 井陉县| 通辽市|