Пример #1
0
 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);
     }
 }
Пример #2
0
 internal static extern IntPtr GetAncestor(IntPtr hWnd, AncestorType type);
Пример #3
0
		private extern static IntPtr Win32GetAncestor (IntPtr hWnd, AncestorType flags);
Пример #4
0
 internal static extern IntPtr GetAncestor(IntPtr hWnd, AncestorType gaFlags);