RangeBase.Maximum Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the highest possible Value of the range element.

Namespace: System.Windows.Controls.Primitives
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property Maximum As Double
public double Maximum { get; set; }
<rangeBase Maximum="double"/>

Property Value

Type: System..::.Double
The highest possible Value of the range element. The default is 1.

Exceptions

Exception Condition
ArgumentException

The new value is either NaN or IsInfinity is true.

Remarks

Dependency property identifier field: MaximumProperty

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

RangeBase Class

System.Windows.Controls.Primitives Namespace