IRangeValueProvider 接口

定义

公开一些方法和属性,以支持 UI 自动化客户端访问可在一定范围内设置为值的控件。Exposes methods and properties to support UI Automation client access to controls that can be set to a value within a range.

public interface class IRangeValueProvider
public interface IRangeValueProvider
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("36dc7aef-33e6-4691-afe1-2be7274b3d33")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IRangeValueProvider
type IRangeValueProvider = interface
Public Interface IRangeValueProvider
派生
属性

注解

在必须支持RangeValuePattern控件模式的 UI 自动化提供程序上实现。Implemented on a UI Automation provider that must support the RangeValuePattern control pattern.

属性

IsReadOnly

获取一个值,该值指定控件的值是否是只读的。Gets a value that specifies whether the value of a control is read-only.

LargeChange

获取一个值,当发生大更改时(例如按下了 Page Down 键),会将 Value 属性加上该值或从中减去该值。Gets the value that is added to or subtracted from the Value property when a large change is made, such as with the PAGE DOWN key.

Maximum

获取控件支持的最大范围值。Gets the maximum range value supported by the control.

Minimum

获取控件支持的最小范围值。Gets the minimum range value supported by the control.

SmallChange

获取一个值,当发生小更改时(例如按下了某个箭头键),会将 Value 属性加上该值或从中减去该值。Gets the value that is added to or subtracted from the Value property when a small change is made, such as with an arrow key.

Value

获取控件的值。Gets the value of the control.

方法

SetValue(Double)

设置控件的值。Sets the value of the control.

适用于

另请参阅