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

備註

控制項可以根據地區設定或使用者喜好設定,允許 recalibration 其支援的屬性。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)

設定與消費者介面自動化元素相關聯的值。Sets the value associated with the UI Automation element.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱