Search code examples
tizentizen-wearable-sdkxamarin.tizen

Tizen. net CircleStepper, is there any way to prevent/control wrap around


Is it possible to control the wrap around of the Tizen CircleStepper?

I use the following to create a CircleStepper:

var circleStepper = new CircleStepper
            {
                Title = "stepper",
                HorizontalOptions = LayoutOptions.CenterAndExpand,
                Increment = 1,
                LabelFormat = "%1.1f",
                Maximum = 100.0,
                Minimum = 0.0,
                Value = 50,
            };

But I cannot find any control of the wraparound function and it is always possible to pull/push control to and from max <> min values as shown here:

enter image description here

What I would like to do is prevent this wraparound behavior. Advice is appreciated.


Solution

  • Feature requested and a pull request was created:

    There is now an IsWrapEnabled Property in CircleStepper

    Available in 1.5.0 Preview 1