DCSIMG
August 2009 - Posts - Essential WPF

August 2009 - Posts

0
Comments

Copy file animation – Just in Case by Tomer Shamam

Last few days I’ve upgraded the XP2Win7 Trigger Start Service demo application UI to WPF. Unfortunately I had no time to add the copy images from USB animation. So just in case that you write kind of copy file application here is a WPF animation I made: Note that this animation demonstrates how to render a 2D element as 3D by using the WPF Viewport2DVisual3D with animation. You can download the code from here .
5
Comments

WPF DataGrid Search and Highlight by Tomer Shamam

In this post I would like to share with you a simple solution for searching and highlighting text in the WPFToolkit or WPF 4.0 DataGrid. The Problem Lets say for example that you have a DataGrid with several columns that may display text. Now you want to be able to search terms in these text parts. For example: Proposed Solution 1. Create an attached property of type string called SearchTerm for attaching the data-grid with the search term provided by a TextBox (see images). < TextBox x : Name...
0
Comments

Vote for your IDCC sessions by Tomer Shamam

The IDCC (Israeli Developers Community Conference) is coming soon and you, part of this great community have an opportunity to decide what sessions are relevant. My suggested topic is of course WPF 4.0 When Visual Studio 2010 Met WPF... We've been waiting for this moment for so long: Microsoft take a strategy decision to use WPF platform as the main UI technology for Visual Studio 2010. This is a great news and a sign that WPF is now ready for business applications. In this session we will take...
5
Comments

WPF + MEF = Declarative Composite UI by Tomer Shamam

I’ve been playing around with MEF lately and I have to say that it has a great potential for building Composite UIs. One of the sample applications arrived with MEF Preview 6 (called MEFLook) , demonstrates how to implement kind of Outlook composite application based on WPF. The interesting part of this application is that views can be imported into the main window as dynamic parts, simply by decorating them with the MEF Export attribute. < Window x : Class ="MeflookSample.MeflookShell"...
2
Comments

WPF BindingEx – Runtime resolved Path by Tomer Shamam

One of my blog readers sent me an email regards how to create Binding to an object via XAML, where Path is unknown at design time. For example, you want to bind to Source.Property property, where Property is provided by another property. public partial class Window1 : Window { public Window1() { Path = "Name" ; Person = new Person () { Name = "Tomer Shamam" }; DataContext = this ; InitializeComponent(); } public string Path { get ; private set ; } public Person Person { get ;...
Powered by Community Server (Commercial Edition), by Telligent Systems