Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Maximum Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft