Friday, August 30, 2013

How to access child controls and their events via element host in Winform



 MessageBox.Show(((WPFCustomControl.WPFComboBox)((System.Windows.Forms.Integration.ElementHost)ctl).Child).SelectedIndex.ToString());

No comments:

Post a Comment