.NET Framework Class Library for Silverlight
RangeBase..::.Maximum Property

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

Namespace:  System.Windows.Controls.Primitives
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Public Property Maximum As Double
    Get
    Set
Visual Basic (Usage)
Dim instance As RangeBase
Dim value As Double

value = instance.Maximum

instance.Maximum = value
C#
public double Maximum { get; set; }
XAML Attribute Usage
<rangeBase Maximum="double"/>

Property Value

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

ExceptionCondition
ArgumentException

The new value is either NaN or IsInfinity is true.

Remarks

Dependency property identifier field: MaximumProperty

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Tags :


Page view tracker