WPF and some elements

  • Thread starter Thread starter Mr. X.
  • Start date Start date
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 :)
 
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.
 
Back
Top