Thumbnail View Resource
Source

drwpf.com (Dr. WPF), posted 2007-08-18

Added By

Avatar BillHenn on 2007-08-18

Vitals
0score
  • 1707 total views
Summary
Dr. WPF talks about how how to allow a value conveter to access the target of a binding.
Excerpt
"Dear Dr. WPF, In my application, I’m using a value converter to convert a GUID to a static resource.  The GUID is accessible in my DataTemplate through a binding like this: <DataTemplate>   <Grid Height="Auto" Width="Auto">     <TextBlock Text="{Binding Path=ID}" />   </Grid> </DataTemplate> I would really like to use the GUID in a more dynamic way as a key into a resource dictionary..."
Full Link

http://drwpf.com/blog/2007/08/18/can-my-value-converter-access-the-target-of-the-binding/

About Dr. WPF

Dr. WPF is a member of the WPF Disciples group and is very active on Microsoft forums. He has a great number of helpful posts that explain various aspects of WPF. http://drwpf.com/blog/

The WPFpedia resource guide has 18 total links to this site.

Comments 

There aren't any comments yet for this resource. Be the first to add one!

Add a Comment

Please log in to post comments.

Tags

Tasks

Thumbnail Screenshots by Thumbshots