title: Get object with known pos. that I added to my grid
body: <p>I need to get one spicific object when I know excact possition of this object (for example on row 1 and column 2) that I previously added to my grid <code>Hall</code>.
  I have class called <code>Seats</code>, this class stores info about rectangle and some methods. For better understading I paste code below</p>
  <pre><code>class Seats
  {
      Rectangle rec = new Rectangle();
      Grid hall;
      int row;
      int column;
      //some other stuff
  
      public Seats(Grid hall, int row, int column)
      {
          this.hall = hall;
          this.row = row;
          this.column = column;
          rec = new Rectangle();
          //some othe stuff
      }
  
      //some methods and func.
      
  }
  
  
  public MainWindow()
  {
      InitializeComponent();
      Grid hall = new Grid();
  
      int rows, columns, r, c;
  
      Config(out rows, out columns) //ask user for num of rows and columns
      
      //this just show my grid
      for (r = 0; r &lt; rows; r++)
      {
          hall.RowDefinitions.Add(new RowDefinition());
          for (c = 0; c &lt; columns; c++)
          {
              if (row == 0)
          {
              hall.ColumnDefinitions.Add(new ColumnDefinition());
          }
              Seats seat = new Seats(hall, r, c);
          }
      }
  }
  
  public void GetSeat(Grid hall, int onRow, int onColumn)
  {
      //here I need to get object seat which is for example on position: row 1 column 2 and change some of propreties
  }
  </code></pre>
  <p>I though about something like <code>hall.GetValue(Grid.RowProperty, onRow), hall.GetValue(Grid.ColumnProperty, onColumn);</code> could work.</p>