Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding to a dependency property
Message
From
24/02/2011 09:27:15
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
23/02/2011 19:17:59
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01501473
Message ID:
01501620
Views:
39
>>
>>Hi John,
>>
>>I haven't tried your last edit, but changing to this did work. I am not sure if changing from a TemplateBinding is a bad thing or not.
>>
>>Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=ViewData.Text1}"
>>
>
>Like I said, without more code I was just giving you a wild guess.
>
>That binding looks just fine, if it's working I would run with it.
>
>Glad you got it.
>
>John

thanks John,
Still wrapping my mind around all the nuances of WPF so will surely have more questions over time.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform