title: F# WPF set a member value of an object after the constructor
body: <p>I was having this problem earlier, where when I would try to set the height of a WPF window, it would give me this error:</p>
  
  <pre><code>unexpected identifier in member definition
  </code></pre>
  
  <p>I found a workaround by setting all the members's values in the constructor.</p>
  
  <p>My old code looked like this:</p>
  
  <pre><code>module UI=
  
      type Display () = 
  
         let window = new Window()
         window.Height &lt;- 600
  </code></pre>
  
  <p>I got it to to work by doing this:</p>
  
  <pre><code>module UI=
  
      type Display () = 
  
      let window = new Window(Height = 600.00, Width = 800.00)
  </code></pre>
  
  <p>But I can't help but wondering if there is some way to set the
  height (or other members) AFTER calling the window constructor?</p>
  
  <p>I say this because the . operator is incredibly useful to me, since I am still learning the .NET framework, I don't know all of the members of a particular class. I would rather use the . operator to browse its members and see if I missed anything than have to go to the MSDN online. Also, its harder to read if I have a lot of member values set in the constructor.</p>
  
  <p>Do I need to declare the window as mutable?</p>