Ugrás a tartalomhoz

.NET Programming Technologies

Gergely Kovásznai, Csaba Biró

Eszterházy Károly College

WPF multi-layer architecture

WPF multi-layer architecture

On the top-level of WPF multi-layer architecture (Picture II. 1) you can find the PresentationFramework.dll. This is used during development, variety of drivers are implemented here. (Button, Border…), styles, etc…

II.1. WPF multi-layer architecture

The PresentationCore.dll ensures the classes for the PresentationFramework (e.g UIElement, Visual, etc.). Derived from the class, including the shape and the controls. The WindowsBase includes object classes for the basic operation of WPF (e.g. DispatcherObject, DependencyObject)

Media Integration Layer includes milcore.dll, which is the core of the WPF. Its task is to translates the higher level of graphical elements (controls and other visual elements) to DirectX elements (triangles, texture). Another component of the layer is the WindowsCodecs.dll, it is for processing, manipulatig a low-level API, primarily images (bmp, jpg, …)

The lowest layer is the Direct3D and the User32. The function of the former is to graph the defined graphical elements by the milcore on the screen, the task of the other is the treatment and management of user input.