DCSIMG
July 2010 - Posts - Essential WPF

July 2010 - Posts

4
Comments

How to bind ToolBar items by Tomer Shamam

You have created a view-model for your ToolBar control, and you have a collection of commands exposed by the view-model as a property (Commands). Now you want to bind your ToolBar.ItemsSource with that property, so you have something like this: < ToolBar ItemsSource ="{ Binding Commands }" Height ="64" />   Of course, you want to have each command as a button, so you’ve created a DataTemplate : < DataTemplate DataType ="{ x : Type local : CommandModel }">...
0
Comments

Programming Windows Phone 7 LOB Applications – Part I by Tomer Shamam

Abstract In these post series, I’ll demonstrate how to develop LOB applications for the Windows Phone 7. This series will provide an easy start for iPhone, Android and .NET Programmers. Introduction Windows Phone is almost here, and it’s a great timing to learn how to develop applications which target the Windows Phone 7 device. From my point of view, there are at least three reasons for doing so: 1. Microsoft introduces a market place, so it’s a good opportunity for making easy money :) 2. Develop...
Powered by Community Server (Commercial Edition), by Telligent Systems