バージョン 24.2 (最新)

GetAncestorPropertyValue メソッド

非 null 設定を持つプロパティの値を返します
シンタックス
public static object GetAncestorPropertyValue( 
   DependencyObject descendant,
   DependencyProperty dp,
   DependencyObject stopAtVisual
)

パラメータ

descendant
dp
stopAtVisual

戻り値の型

先祖からの非 null 値設定、または見つからない場合は null。
参照