Reputation: 520
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:
What I would like to do is prevent this wraparound behavior. Advice is appreciated.
Upvotes: 0
Views: 75
Reputation: 520
Feature requested and a pull request was created:
There is now an IsWrapEnabled
Property in CircleStepper
Available in 1.5.0 Preview 1
Upvotes: 1
Reputation: 1
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.
Upvotes: 0