Set restrictToFillLevel property.
Controls whether slider movement is restricted to an upper boundary set by the fill level.
Set restrictToFillLevel property.