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
535
xamDateTimeInput with clear button
posted

Hello i would like to implement a clear button inside the xamDateTimeInput control. basicly just a x to remove the content.

any ideas how to do this with mvvm design

  • 138253
    Offline posted

    Hello Fredrik,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

  • 138253
    Offline posted

    Hello Fredrik,

     

    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 XamDateTimeInput and added a Button in its Template. I also created a Command for clearing the value and set it to the Button. I put all these code in a ResourceDictionary. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamDateTimeInputClearButton.zip