コード例 #1
0
ファイル: UITypes.cs プロジェクト: ye-man/xamarin-macios
 // note: NSDirectionalEdgeInsetsEqualToDirectionalEdgeInsets (UIGeometry.h) is a macro
 public bool Equals(NSDirectionalEdgeInsets other)
 {
     if (Leading != other.Leading)
     {
         return(false);
     }
     if (Trailing != other.Trailing)
     {
         return(false);
     }
     if (Top != other.Top)
     {
         return(false);
     }
     return(Bottom == other.Bottom);
 }
コード例 #2
0
ファイル: UITypes.cs プロジェクト: ye-man/xamarin-macios
 extern static IntPtr /* NSString */ NSStringFromDirectionalEdgeInsets(NSDirectionalEdgeInsets insets);