Ejemplo n.º 1
0
 private bool AreRegionsAdjacent(NavigationRegion a, NavigationRegion b)
 {
     return(a == b ||
            a.Above(b) ||
            a.Below(b) ||
            a.LeftOf(b) ||
            a.RightOf(b));
 }