FrameworkElement.InheritanceBehavior 속성

정의

속성 값 상속, 리소스 키 조회 및 RelativeSource FindAncestor 조회를 위한 범위 제한을 가져오거나 설정합니다.

protected public:
 property System::Windows::InheritanceBehavior InheritanceBehavior { System::Windows::InheritanceBehavior get(); void set(System::Windows::InheritanceBehavior value); };
protected internal System.Windows.InheritanceBehavior InheritanceBehavior { get; set; }
member this.InheritanceBehavior : System.Windows.InheritanceBehavior with get, set
Protected Friend Property InheritanceBehavior As InheritanceBehavior

속성 값

InheritanceBehavior

열거형 값입니다. 기본값은 Default입니다.

설명

요소에 특정 경계 집합 트리 InheritanceBehavior 의도적으로 애플리케이션 리소스를 확인 하거나 현재 요소를 쿼리에서 RelativeSource FindAncestor 조회를 방지 하기 위해 force 리소스 조회에 상속 동작의 범위를 제한 하려면 또는 더 이상입니다. RelativeSource FindAncestor 조회는 바인딩에서 해당 Mode 속성이 값으로 RelativeSource RelativeSourceMode.FindAncestor 설정된 값을 사용할 때 발생합니다.

파생 클래스에서 이 속성을 설정하려면 정적 생성자 내에서 또는 다른 초기화 루틴에서 설정해야 합니다.

적용 대상

추가 정보