We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Spreadsheet form in WF project. Cant type in spreadsheet cells.

Hi,

I have WF project with. I'd like use Spreadsheet in this project. As spreadsheet do not exist in WF I add WPF Windows in project (add from context menu WPF user control then change class from UserControl to RibbonWindow) and add Spreadsheet Control to form. Then Show SpreadsheetWindow from button.Click Event.

I try to type in cell and there is nothing.



SpreadSheetTest_586568dc.rar

1 Reply

PS Pannir Selvam S Syncfusion Team March 27, 2013 06:28 AM UTC

Hi Anastasia ,

 

Call the EnableModelessKeyboardInterop method on the ElementHost control to handle keyboard input in the WPF window.

 

var form = new Spreadsheet.SpreadSheetForm();
ElementHost.EnableModelessKeyboardInterop(form); 
form.Show();

 

Thanks,

Pannir


Loader.
Live Chat Icon For mobile
Up arrow icon