Welcome to the Coach Factor blog. Here you will find all of our ideas on software development. Subscribe at http://blog.nventive.net.
When we were in Quebec city last week training a group of people on WPF, one of the trainees asked a question :
How would I go and change the "presentation" of the scroll bar.
This questioned was asked during one of the labs and so we had time (10 minutes) to come up with a quick answer, here is the walkthrough that we presented:
18 DefaultStyleKeyProperty.OverrideMetadata(typeof(MyScrollBar),
19 new FrameworkPropertyMetadata(typeof(MyScrollBar)));
This is the 1000 feet view on how to do skinning, and will require a lot more work when creating a custom style that works correctly (handling commands, events, triggers...).
It was a mere introduction to demonstrate the simplicity of the model that WPF uses to "present" controls.
2008 nVentive. All rights reserved.