VisualTreeHelper.GetOpenPopupsForXamlRoot(XamlRoot) メソッド

定義

ターゲット XamlRoot から開いているすべてのポップアップ コントロールのコレクションを取得します。

public:
 static IVectorView<Popup ^> ^ GetOpenPopupsForXamlRoot(XamlRoot ^ xamlRoot);
 static IVectorView<Popup> GetOpenPopupsForXamlRoot(XamlRoot const& xamlRoot);
public static IReadOnlyList<Popup> GetOpenPopupsForXamlRoot(XamlRoot xamlRoot);
function getOpenPopupsForXamlRoot(xamlRoot)
Public Shared Function GetOpenPopupsForXamlRoot (xamlRoot As XamlRoot) As IReadOnlyList(Of Popup)

パラメーター

xamlRoot
XamlRoot

ポップアップを取得する現在の XamlRoot インスタンス。

戻り値

開いているすべてのポップアップの一覧。 ポップアップが開かなければ、リストは空です。

適用対象