Questions tagged [findname]

31 questions
41
votes
8 answers

WPF - FindName Returns null when it should not

FindName is broken for me :( The object I am looking for is there. I have proof. Here is the scenario: ToggleButton button = (ToggleButton)sender; Popup popup = (Popup)button.FindName("popSelectIteration"); popup is null but not always. Just…
Vaccano
  • 78,325
  • 149
  • 468
  • 850
8
votes
1 answer

WPF Template.FindName return always null

Template