Unable to Click to Select ComboBox Options

When using a combo box in a plug-in interface, I have to use the enter key on my keyboard to select an option; a mouse click does not work. Is there a specific setting/method to enable hand-clicking?

The combo box is instantiated using:
public void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
ComboBoxItem cbi = new ComboBoxItem();
}

Below is the code snippet from the .xaml file (with some “<”):

"<"ComboBox x:Name=“comboBoxFT” HorizontalAlignment=“Left” Margin=“146,44,0,0” VerticalAlignment=“Top” Width=“120” SelectionChanged=“ComboBox_SelectionChanged” Cursor=“Hand”>
“<” ComboBoxItem Content=“a” Cursor=“Hand”/>
"<"ComboBoxItem Content=“b” Cursor=“Hand”/>
“<“ComboBoxItem Content=“c” Cursor=“Hand”/>
</ComboBox”>”

Hi @zberzolla,

Does this help?

https://www.wpf-tutorial.com/list-controls/combobox-control/

– Dale

While that provided a helpful tutorial on combobox, it did not solve the issue as I still cannot select the items in the combobox by clicking my mouse. As seen in the attached image, I can see all the items, even highlight them, but clicking doesn’t work. I changed my code to practically match the example but that did not fix it.
image

Hi @zberzolla,

If you want further help, you are going to need to post the source to a sample project, that we can run here, that repeats what you are seeing.

– Dale