In Code Behind of ToolboxItem call the method like his.
In Code Behind of ToolboxItem call the method like his: FindVisualChild(this); This works fine for me and returns me the expected Image Object.
Thanks a lot, viky. But the datatemplate is "inside" the toolboxm not the toolboxitem. Should I add it to a toolbox or a toolboxitem?
– EVA Mar 28 '10 at 18:02 I tried this code: string xamlString = XamlWriter. Save(FindVisualChild(this)); and now I get an empty image (no url attached). – EVA Mar 28 '10 at 18:57.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.