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
725
XamDateTimeEditor spin button click set focus.
posted

I am using XamDateTimeEditor for time (hh:mm) masking. Now when cursor focus is in control then its works on spin button up and down.But cursor focus is in other control and i click on spin Button (up or down) nothing happened. So how can i set focus in my current control when click on spin Button (up or down).

  • 138253
    Offline posted

    Hello Adit,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the RepeatButton and added EventSetters for the Loaded and Click events and in the handlers I set the button’s Names and put the Editor in edit mode if it is not and execute command for spin-up or spin-down. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamDateTimeEditorSpinClick.zip
  • 115
    posted

    I am face same issue.