Does it perform drawing by itself, or uses the native UI components provided by Windows in any way?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
WPF sort of uses native controls because WPF is the new native way to render controls in Windows – what you consider native is legacy win32, and basically slowly on the way to history.
MS did a lot of optimization in DirectX to allow WPF efficiently to render using the GPU. This is a new “native” interface that is also used to render the Vista upward AERO interface. WPF goes directly to a native layer that then does whatever it can in the GPU – including text rendering.
Now, the reall tricky part in your question is “native UI components provided by windows in ANY MEANS” – well, these low level functions are provided by Windows, so the answer is yes. Primitive drawing operations in a new API were added, but they were added specifically FOR WPF, which is now considered to be sort of the new “native windows presentation layer”. MS is slowly moving away from the Win32 API towards WPF for generic presentations (Direct X etc. stays around – WPF is way too generic to be usable for example for high performance first person shooters). As such, given WPF is the new “native components layer”, the question gets really tricky to answer 😉