Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Find out if ControlTemplate is initialized

$
0
0

I am looking for ways to let user/developer know that the control template of a certain control has been initialized.

To be more specific lets say for example I have a custom ComboBox and the ComboBoxItem control which is inside Popup of my ComboBox should notify me when its ControlTemplate was initalized. I have no access to ComboBoxItem which is why I cannot use OnApplyTemplate of my custom ComboBox.

ComboBoxItems are not there from begin on since I need to open the Popup to see them.

What kind of ways do you guys use to find this out?



Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>