Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding to a dependency property
Message
De
24/02/2011 09:27:15
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
23/02/2011 19:17:59
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01501473
Message ID:
01501620
Vues:
40
>>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform