i need to bind a collection of objects to a combo box which i can use in different forms. so i want create a custom control which binds the collection to the combo box? how t do it by extending combo box? also how can i define the ItemData template?
Share
Why do you want to extend
ComboBox? You can directly bindComboBoxto a collection usingItemsSourceproperty! This and this page explains more about data binding and usingItemTemplatewithComboBox. Or, you can explore more on MSDN.