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); }
public static bool GetShouldGoToIssue(Grid grid) { return (bool)grid.GetValue(NavigateToIssue); }
public static bool GetShouldGoToNotification(Grid grid) { return (bool) grid.GetValue(NavigateToNotification); }
public static bool GetShouldGoToActivity(Grid grid) { return (bool)grid.GetValue(NavigateToPR); }