Articles in this section

How to load ComboBox inside a cell in UWP Spreadsheet?

You can load ComboBox cell in SfSpreadsheet by applying the List Validation to the cell like below code example.

string[] data = { "A", "B", "C" };
var range = Spreadsheet.ActiveSheet.Range["D5:D10"].DataValidation;
range.ListOfValues = data;
Spreadsheet.ActiveGrid.InvalidateCell(GridRangeInfo.Cells(5,4,10,5));

Take a moment to peruse the UWP SfSpreadsheet - Data Validation documentation, where you can find about data validation with code examples.

 

Sample link:

 

WPF

 

WinForms

 

UWP


 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied