.NET MAUI コントロール
GetAllParents メソッド

C1.Maui.Core アセンブリ > C1.Maui.Core 名前空間 > ViewEx クラス : GetAllParents メソッド
ビジュアルツリー内のすべての親を返します
シンタックス
'宣言
 
Public Shared Function GetAllParents( _
   ByVal elem As Microsoft.Maui.Controls.View _
) As System.Collections.Generic.IEnumerable(Of View)
public static System.Collections.Generic.IEnumerable<View> GetAllParents( 
   Microsoft.Maui.Controls.View elem
)

パラメータ

elem

戻り値の型

ビジュアルツリー階層内の祖先フレームワーク要素のリスト
参照

ViewEx クラス
ViewEx メンバ