RangeSlider issue: can only create one object


I was trying to implement the range slider as part of a software. When I try to insert 2 range slider onto a window, then I got an error of "already defined object"
I think that the range slider is not created as a type, but rather an object, so when I put the code in XAML, I created an object with the given name "rangeSlider", and that is the only range slider that can exist.
One more thing is that the Name property of the slider is already defined, and I can't change it.
I would like to know if anyone has found a way to implement more than 1 slider onto your project.