Property AncestorType
AncestorType
The Type of ancestor to look for, in FindAncestor mode.
public Type AncestorType { get; set; }
Property Value
Remarks
if Mode has not been set explicitly, setting AncestorType will implicitly lock Mode to FindAncestor.
Exceptions
- InvalidOperationException
RelativeSource is not in FindAncestor mode