WPF is developed in DirectX 9 and runs with a persistent rendering system. The advantage is that you don't paint anything that the screen can do, but instead create a forest of visual objects; their drawing instructions are usually cached and then automatically processed by the appropriate structure.