I want to match the following xaml in the code, but I do not know how to capture that text block element: & lt; Local: Deaf TheWeekColumn ... & lt; Local: TheWeekColumn.Header & gt; & Lt; TextBlock Text = "{binding ...}, tooltip =" {binding ...} /> & Lt; / Local: DayOfTheWeekColumn.Header & gt; & Lt; / Local: DayOfTheWeekColumn & gt; The DayOfTheWeekColumn is a subclass of a DataGridTextColumn. I can easily get it on the header and set it to my content, and now I want to set the tooltip in the code, to find out how to do it in xaml above. Cheers, Berryl Edit ========= Even Code for DayOfTheWeekColumn is. XML is part of the text book headers' visual tree, and nothing else I want to put in XML. I want to put it in the tooltip, however, is in the code, so I can set it there. I am thinking that the column headers should have the property of a child, which I can use to find the text box, but the haven has not been found yet....
Comments
Post a Comment