What is the WPF equivalent to "Panel.Location"? RRS feed

  • Question

  • Basically I have used this in windows Forms and would like to do the same thing in WPF:

    Panel1.Location = new Point(Panel1.Location.X + 5, Panel1.Location.Y);

    I have been limited with the code above because the Point will only accept integers but I am sure that WPF will use doubles now?

    Thursday, May 13, 2010 5:31 PM


All replies