If TypeOf e.Control Is ComboBox Then Dim cbo As ComboBox = DirectCast(e.Control, ComboBox) cbo.DropDownHeight = 250 End If
if (e.Control is ComboBox) { ComboBox cbo = (ComboBox)e.Control; cbo.DropDownHeight = 250; }
ComboBox cbo = e.Control as ComboBox; if(cbo != null) { cbo.DropDownHeight = 250; }
if (e.Control is ComboBox) (ComboBox)e.Control.DropDownHeight = 250;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)