RangeValuePattern 类

定义

表示一个控件,可将其设置为范围内的一个值。Represents a control that can be set to a value within a range.

public ref class RangeValuePattern : System::Windows::Automation::BasePattern
public class RangeValuePattern : System.Windows.Automation.BasePattern
type RangeValuePattern = class
    inherit BasePattern
Public Class RangeValuePattern
Inherits BasePattern
继承
RangeValuePattern

注解

控件可能允许基于区域设置或用户首选项来校准支持的属性。Controls may allow recalibration of their supported properties based upon locale or user preference. 例如,可以设置为以华氏或摄氏显示温度的温度计控件。An example of this would be a thermometer control that can be set to display the temperature in Fahrenheit or Celsius.

字段

IsReadOnlyProperty

标识 IsReadOnly 属性。Identifies the IsReadOnly property.

LargeChangeProperty

标识 LargeChange 属性。Identifies the LargeChange property.

MaximumProperty

标识 Maximum 属性。Identifies the Maximum property.

MinimumProperty

标识 Minimum 属性。Identifies the Minimum property.

Pattern

标识 RangeValuePattern 控件模式。Identifies the RangeValuePattern control pattern.

SmallChangeProperty

标识 SmallChange 属性。Identifies the SmallChange property.

ValueProperty

标识 Value 属性。Identifies the Value property.

属性

Cached

获取此 RangeValuePattern 的缓存属性值。Gets the cached property values for this RangeValuePattern.

Current

获取此 RangeValuePattern 的当前属性值。Gets the current property values for this RangeValuePattern.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
SetValue(Double)

UI 自动化UI Automation 元素关联的值。Sets the value associated with the UI 自动化UI Automation element.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅