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
295
xamDateTimeEditor (Keyboard: FocusedElement)
posted

Hi,

I have xamDateTimeEditor in one of my WPF forms. When the focus is on it and i try to use Keyboard.FocusedElement i get 'Infragistics.Windows.Editors.SectionsList' and not the xamDateTimeEditor control. Is there any way i can get the xamDateTimeEditor. I suspect this may be true for other controls as well . Is there any comman way to get the actual control which has got the focus?

Kind Regards

  • 69686
    Verified Answer
    posted

    Hello Devinder,

    The TemplatedParent property should return you to the XamDataTimeEditor, however if you are using an event like GotKeyboardFocus, the sender should also be the XamDataTimeEditor.