public override int GetHashCode() { unchecked { int hashCode = (Path != null ? Path.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)BindingMode; hashCode = (hashCode * 397) ^ AncestorLevel; hashCode = (hashCode * 397) ^ (AncestorType != null ? AncestorType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ConverterType != null ? ConverterType.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)RelativeSourceMode; hashCode = (hashCode * 397) ^ (ConverterParameter != null ? ConverterParameter.GetHashCode() : 0); return(hashCode); } }
internal static extern IntPtr GetAncestor(IntPtr hWnd, AncestorType type);
private extern static IntPtr Win32GetAncestor (IntPtr hWnd, AncestorType flags);
internal static extern IntPtr GetAncestor(IntPtr hWnd, AncestorType gaFlags);