AlohaKit.Controls
AlohaKit.Controls copied to clipboard
Slider Issues
I was working with the slider and ran into a few issues.
This is using vs 2022 preview 17.6 preview 1/A10
- Slider min/max are not honored. A max of X can result in values over X. Same with the minimum values
- Minimum cannot be negative. A negative minimum value breaks the slider from being usable
- Value reported is not accurate (may be related to #1). With a max of 1, sliding to 1 in my control sometimes is 1.(something) then the next time its 2.(something)
Simple xaml:
xmlns:ak="clr-namespace:AlohaKit.Controls;assembly=AlohaKit"
<ak:Slider
Grid.Column="0"
Grid.ColumnSpan="3"
Maximum="2"
Minimum="0"
Value="{Binding Balance, Mode=TwoWay}" />