Table of Contents

Property Maximum

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Maximum

Gets or sets the upper limit of the range this Slider is working with.

public virtual int Maximum { get; set; }

Property Value

int

The maximum value for the Slider. The default is 10.

Remarks

The minimum and maximum values of the Value property are specified by the Minimum and Maximum properties. If the new Minimum property value is greater than the Maximum property value, the Maximum value is set equal to the Minimum value. If the Value is less than the new Minimum value, the Value property is also set equal to the Minimum value.