Slider

Developer
Dec 19, 2010 at 2:52 PM

Hello Objo,

Any idea what the problem with the bindings of SmallChange and LargeChanges properties for a Slider are?

// Per

Coordinator
Dec 20, 2010 at 5:29 PM

hi Per,

the [Slidable(...)] attribute seems to work in the FeaturesDemo on .NET 4.0.

Are you making a custom editor? Can you provide an example?

Developer
Dec 22, 2010 at 12:46 PM

Hello,

It appears that you are right (despite the todo comment in BasicEditors.xml for the slider) and what I actually needed was the properties IsSnapToTickEnabled and TickFrequency. How about adding these to the Slidable-attribute? Doing so would allow for limiting values to only those on par with the SmallChange and LargeChange values, such as 1,1.5,2 and not 1.11, 1.42 etc when *dragging* the slider component.

Sorry for the late reply.

Coordinator
Dec 27, 2010 at 3:24 PM

I applied the patch you submitted (only change was to use default VS formatting Cltr-E,D). Thank you!