DCSIMG
Theme - Essential XAML

Browse by Tags

All Tags » Theme (RSS)

WPF is O.O, Control Templates are not! by Tomer Shamam

The best feature in WPF, which I very appreciate, is that WPF is a real O.O framework. Its services are exposed as a pile of polymorphic types, having common base classes and interface implementation. As every aspect in the real life (especially in software), not everything is perfect and so is WPF. One of the things that I'm a little disappointed with is Control Templates. The big Why Control Template is a strong mechanism in WPF. With Control Templates, a control’s logic is totally separated from...
תגים:, , , ,

WPF - Good Design Principles by Tomer Shamam

Last few days, I saw a WPF Video Post that demonstrates how to start a blast graphic effect, based on image series. See this link . Yap, this is a very cool blast, but IMHO this is not the right way to go with WPF. The tips bellow will help you to redesign the application correctly, using WPF fundamentals. Tip 1: Design your model/data to support Data Binding (provide property for almost everything). Do not forget that data-binding in WPF is everywhere! Tip 2 : Do not hesitate to use Dependency Properties...
תגים:, , ,

WPF Dynamic Theme by Tomer Shamam

When I first read about WPF, I was very happy to hear that WPF supports themes. After a short reading, I had understand that a WPF theme is actually a XAML file which is automatically loaded as you run a WPF application on different operating systems such as Windows XP, Vista, etc, running with a different theme (luna, royale, etc). Actually, there is an option to create a new theme to work with WPF, but it is too burden and difficult to create. It is very nice that WPF provides an option to choose...
תגים:,
Powered by Community Server (Commercial Edition), by Telligent Systems