diff --git a/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs b/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs index ad8afee86..1f1694086 100644 --- a/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs +++ b/runtimes/csharp/windowsphone/mosync/mosyncRuntime/Source/Modules/NativeUI/MoSyncSlider.cs @@ -121,7 +121,7 @@ public int Value { set { - if (value < 0) + if (0 <= value) { if (value <= mMaxValue && value >= mMinValue) {