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

74 views Asked by At

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.

2

There are 2 answers

0
axa On BEST ANSWER

Feature requested and a pull request was created:

There is now an IsWrapEnabled Property in CircleStepper

Available in 1.5.0 Preview 1

3
Jk8282 On

When I have test with your snippet code, displaying is different your screenshot. I have tested tizen 4.0/5.0 emulator. Title and value(50.0) is displayed but there were no max and min value in screen. and CircleStpper doesn't have circle scroll bar(blue circle bar in your screen shot). please refer to circlestepper guide

There will be helpful if you add emulator version or provide your code more. you can raise issue in https://github.com/Samsung/Tizen.CircularUI/issues with detail information.

enter image description here