Basically, WPF has a multi-layered architecture and it has three layers, they are
Core OS element
WPF managed layer
WPF unmanaged layer