IRangeValueProvider.Maximum Property

 

Gets the maximum range value supported by the control.

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

ReadOnly Property Maximum As Double

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 ReadOnly Property Maximum() As Double Implements IRangeValueProvider.Maximum
	Get
		Return 255.0
	End Get
End Property

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