示例#1
0
        public void RemoveTile(Grid tile)
        {
            var column = (int)tile.GetValue(Grid.ColumnProperty);
            var row = (int)tile.GetValue(Grid.RowProperty);

            int index = column + row*ColumnCount;

            _rackOccupency[index] = false;

            _theRack.Children.Remove(tile);
        }
示例#2
0
 public static bool GetShouldGoToIssue(Grid grid)
 {
     return (bool)grid.GetValue(NavigateToIssue);
 }
示例#3
0
 public static bool GetShouldGoToNotification(Grid grid)
 {
     return (bool) grid.GetValue(NavigateToNotification);
 }
示例#4
0
 public static bool GetShouldGoToActivity(Grid grid)
 {
     return (bool)grid.GetValue(NavigateToPR);
 }