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
55
do xamslider have inbuilt validation for time?
posted

As i am using two thumbs in xam slider and i want to add the validations in it so that startpoint can't exceeds endpoint and vice versa, Although i added validation in model class but i want to know if there is other way to apply validation in xaml

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Komal,

    My team and I have done an initial review of this post, and I am under the impression that by “validation” in this case, you are looking for a behavior where one XamSlider thumb cannot go past another. If this impression is correct, my best recommendation would be to set the InteractionMode property on the Thumb element of your slider to “Lock.” This will prevent other thumbs from moving past it. You can read more about the interaction modes of the thumbs here: https://ko.infragistics.com/help/wpf/xamslider-interaction-modes.

    Please let me know if you have any other questions or concerns on this matter.

Children
No Data