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

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.

主站蜘蛛池模板: 彰武县| 孝感市| 莲花县| 班玛县| 巍山| 满洲里市| 井冈山市| 郴州市| 邵东县| 神木县| 金塔县| 镇原县| 前郭尔| 高尔夫| 永登县| 昭觉县| 大连市| 靖远县| 贡觉县| 微山县| 栾城县| 山阳县| 扬州市| 鄯善县| 平塘县| 漳平市| 中山市| 遵化市| 涿鹿县| 沂源县| 崇左市| 玉龙| 大城县| 莱阳市| 梅州市| 武胜县| 永德县| 曲靖市| 惠水县| 明星| 林西县|