共用方式為


ExpandCollapsePattern.Current 屬性

定義

取得此ExpandCollapsePattern 的當前使用者介面自動化屬性值。

public:
 property System::Windows::Automation::ExpandCollapsePattern::ExpandCollapsePatternInformation Current { System::Windows::Automation::ExpandCollapsePattern::ExpandCollapsePatternInformation get(); };
public System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation Current { get; }
member this.Current : System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation
Public ReadOnly Property Current As ExpandCollapsePattern.ExpandCollapsePatternInformation

屬性值

一個包含目前 使用者介面自動化 控制模式屬性值的結構。

備註

此模式必須來自有Full參考的 ,AutomationElement才能取得當前值。 若 是 AutomationElement 使用 None,則僅包含快取資料,嘗試取得任何屬性的當前值會觸發例外。 用 Cached 來取得先前用 CacheRequest.

有關可取得的房產及其用途,請參見 ExpandCollapsePattern.ExpandCollapsePatternInformation

適用於