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 オートメーションプロパティ値を含む構造体。

注釈

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

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

適用対象

こちらもご覧ください