What does the error message say?

By on 2/27/2009 7:48 AM ()

The line border1.Content <- uniform1 |> ignore said:

Error 1 The field, constructor or member 'Content' is not defined.

By on 2/27/2009 8:55 AM ()

Hi,
I'm not an WPF expert, but I just checked the documentation and it doesn't seem like there is a "Content" property. Would it work if you used "Child" property instead?

Here: [link:msdn.microsoft.com]

T.

By on 2/27/2009 10:07 AM ()

No.

I looked at the Intelligence (down drop) library and nothing makes sense to me.

By on 2/27/2009 10:53 AM ()

From the rest of your code, it looks to me like you do want to set the Child, as tomasp suggested:

let stack =

...

border1.Child <- uniform

temp.Children.Add(border1) |> ignore

temp

This will give a yellow border around 4 uniformly arranged buttons at the top of your display, and a bunch of blank space below that, since the stack panel only has one thing in it.

If that's not what you're after, what is it you want?

By on 2/27/2009 4:21 PM ()

Thank-you!!!

By on 2/27/2009 4:38 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper