WPF and some elements

M

Mr. X.

Hello.
Can I do the following :
On WPF application ...
1. I want to open inner window of Browser (Internet). Can I do so?
2. I declared a propertyGrid :
public Window1()
{
InitializeComponent();
PropertyGrid pg = new PropertyGrid();
pg.SelectedObject = button1;
windowsFormsHost1.Child = pg;
}

windowsFormsHost1 is windowsFormsHost.
The property grid isn't shown the best way - (I.e BackGround property
doesn't open a color-dialog, as I see on design time).
This because button1 is a WPF,
but where is the propertyGrid that is suitable for WPF Applications?

Thanks :)
 
A

andy

Hello.
Can I do the following :
On WPF application ...
1. I want to open inner window of Browser (Internet). Can I do so?
2. I declared a propertyGrid :
        public Window1()
        {
            InitializeComponent();
            PropertyGrid pg = new PropertyGrid();
            pg.SelectedObject = button1;
            windowsFormsHost1.Child = pg;
        }

windowsFormsHost1 is windowsFormsHost.
The property grid isn't shown the best way - (I.e BackGround property
doesn't open a color-dialog, as I see on design time).
This because button1 is a WPF,
but where is the propertyGrid that is suitable for WPF Applications?

Thanks :)

1) Webbrowser control
2) I don;t follow the question. Windows controls in WPF have issues.
The two different technologies don't mix perfectly.
 
E

Emanuele Origgi

1) Webbrowser control
2) I don;t follow the question. Windows controls in WPF have issues.
The two different technologies don't mix perfectly.- Hide quoted text -

- Show quoted text -

Hi Mr.X,
for PropertyGrid in WPF try to look this http://wpg.codeplex.com/

Emanuele
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top