Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148023 | Oct 2,2019 11:49 AM UTC | Oct 7,2019 05:38 AM UTC | WPF | 3 |
Hi,
I program a wpf app and use a community license. I use several SfMultiColumnDropDownControl contols in one window. I'm trying to focus on a combo box like that, but it does not work. For example: comboBox.Focus () does not work. Can you help me?
var textBox = this.comboBox1.GetType().GetProperty("Editor", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance).GetValue(this.comboBox1);
if (textBox != null && textBox is TextBox)
(textBox as TextBox).Focus(); |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.