// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET // Accessing the worksheet of the Grid that is currently active Worksheet sheet = gridDesktop1.GetActiveWorksheet(); // Accessing the location of the cell that is currently in focus CellLocation cl = sheet.GetFocusedCellLocation(); // Adding checkbox to the Controls collection of the Worksheet sheet.Controls.AddCheckBox(cl.Row, cl.Column, true);