Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2116
Is the XamRibbon TextEditor Focusable?
posted

Is it possible to set the focus of xamribbon texteditor in code?

Parents
No Data
Reply
  • 17475
    Offline posted

    Hello, 

    Thank you for posting! 

    If you want to set the focus to the TextEditorTool in the XamRibbon, you could call the Focus method for this element. By default the Focusable property of this tool is set to true and allow you to focus the editor. I have attached a sample project where I set the focus to the TextEditorTool on button click. Please do not hesitate to ask if you have any other questions.

    XamRibbonTextEditorFocus.zip
Children