Search code examples
c#xamarinmonomonomacxamarin.mac

How to add a text and value to NSComboBox?


I have list of Employees with Name and EmployeeNo, how can we add this to NsComboxBox something like we do in Windows dropdownlist as Text and value. I could only add the text using NsCombobox.Add("EmployeeName").


Solution

  • Please take a look at the Working with Menu Controls section of our Standard Controls document. If you are still having an issue, please let me know and I'll see if I can't help you out.