IRangeValueProvider.Maximum Property

 

Gets the maximum range value supported by the control.

Namespace:   System.Windows.Automation.Provider
Assembly:  UIAutomationProvider (in UIAutomationProvider.dll)

double Maximum { get; }

Property Value

Type: System.Double

The maximum value supported by the control or null (Nothing in Microsoft Visual Basic .NET) if the control does not support Maximum.

The following example shows an implementation of this method for a control that has a maximum value of 255.0.

/// <summary>
/// Specifies the maximum value of the range.
/// </summary>
public double Maximum
{
    get 
    { 
        return 255.0;
    }
}

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: