Information générale
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Network:
Windows 2008 Server
>Thanks for your replay.
>
>I have been in some other projects and I´m back to this problem.
>
>I think That is a Tab Issue. I have a localize strategy that searchs all controls when loading and changes the content or header of each control. It only works for the first Tab.
>
>I don´t know if anybody else is aware of this problem.
>
>The binding that I use is correct so it works if the control is in the first Tab or in a window without Tabs. Is a UserControl with an Image Control and a DependencyProperty that is bound as usual to a field in my Database. Each time the value of the property changes, the control searchs the image field and sets the Source of the Image.
>
>The UpdateLayout() method after the Source is Set doesn´t work if the control is inside a Tab.
>
>Is it a bug?
Not clear now whether the problem you are having is specific to an Image element or applies to other controls on a non-active TabItem.
Can you clarify and, if poss, post the code/XAML that sets up the Image binding....
Regards,
Viv
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement