ExpandCollapsePattern.Current プロパティ

定義

このExpandCollapsePatternの現在のUI オートメーション プロパティ値を取得します。

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

プロパティ値

コントロール パターンの現在のUI オートメーションプロパティ値を含む構造体。

注釈

現在の値を取得するには、Full参照を持つAutomationElementからのパターンである必要があります。 Noneを使用してAutomationElementが取得された場合、キャッシュされたデータのみが格納され、プロパティの現在の値を取得しようとすると例外が発生します。 Cachedを使用して、CacheRequestを使用して以前に指定したプロパティのキャッシュされた値を取得します。

使用可能なプロパティとその使用方法については、 ExpandCollapsePattern.ExpandCollapsePatternInformationを参照してください。

適用対象