DCSIMG
September 2008 - Posts - Essential WPF

September 2008 - Posts

0
Comments

<howto>Add decorations to WPF shapes</howto> by Tomer Shamam

Introduction : You have a collection of shapes (or other elements), and you want to decorate each shape with one or more decoration, such as text. Solution Actually, there are several solutions. Some are straight forward, and some are more complex but flexible. I chose to describe a flexible way in which you don’t have to touch your visual tree directly from XAML. You just need to add decorations programmatically, whenever you liked to. < Canvas x : Name ="_shapes"> < Rectangle...
7
Comments

<howto>Replace ListView columns with rows</howto> by Tomer Shamam

Introduction : You want to present a table with a ListView , but you should display columns as rows. Problem : The only out-of-the-box view for the WPF ListView control is GridView. GridView was designed to work with columns. It displays headers and rows as two parts, using a stack layout by default. Changing the stack orientation to horizontal will not work since both the headers presenter and rows presenter are displaying children horizontally. Solution #1 : Do not use ListView. Use a ListBox with...
4
Comments

Open House on WPF Data Binding - Presentation + Demo Code by Tomer Shamam

I would like to thank those who participated in my WPF Data Binding Open House at Microsoft Ranana, it was a great pleasure. As I promised, here is my Presentation + Demo Code . Also you can download my Aquarium demo from here (I have an updated version of the WPF Aquarium, but I will upload it later). Cheers
0
Comments
0
Comments

Composite Application Guidance for WPF (Prism) Tour - Part 2 by Tomer Shamam

In the first post of this series I generally wrote about Prism and how can it fit in WPF applications. In this second post I would like to introduce a Home Automation application UI, show how to design it as a monolithic application, talk about the disadvantages of a monolithic application, and finally show how to design it as a Composite Application. What is a Home Automation? "For some it may be something as simple as remote or automatic control of a few lights. For others, security may be...
תגים:, , , ,
Powered by Community Server (Commercial Edition), by Telligent Systems