I implement custom behavior by subclassing form controls, but I am unable to access the DroppedDown property for ComboBox. Looking for help, it should be supported in CF.NET 2.0:
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Text; using System.Windows.Forms; namespace xCustomControls { public partial class xComboBox : System.Windows.Forms.ComboBox { private ComboBox comboBox1; public xComboBox() { InitializeComponent(); this.KeyDown += new KeyEventHandler(this.KeyDownHandler); } private void KeyDownHandler(object sender, KeyEventArgs e) {
the failure of "System.Windows.Forms.ComboBox" does not contain a definition for "DroppedDown", and the extension method "DroppedDown", which takes the first argument of the type "System.Windows.Forms.ComboBox", can be found
How can I access the property?
TIA, Pablo
source share