<System.ComponentModel.DefaultBindingProperty("Text")> _
Public Class MultiColumnCombobox : Inherits ComboBox
Public Property Text()
... ...
... ...
End Property
End Class
上述代碼把Text屬性當成默認的數據綁定屬性.
<System.ComponentModel.DefaultBindingProperty("Text")> _
Public Class MultiColumnCombobox : Inherits ComboBox
Public Property Text()
... ...
... ...
End Property
End Class
上述代碼把Text屬性當成默認的數據綁定屬性.