I'm using DropDownButton to display Winform or HWND window, but it seems that it does not display any Winform in DropDownContent
Here is example:
Here is example:
<
Window
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"MainWindow"
xmlns:Forms32
=
"clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadDropDownButton
Content
=
"Browser"
HorizontalAlignment
=
"Left"
Height
=
"Auto"
IsOpen
=
"False"
Margin
=
"36,21,0,0"
VerticalAlignment
=
"Top"
Width
=
"Auto"
DropDownWidth
=
"800"
DropDownHeight
=
"600"
>
<
telerik:RadDropDownButton.DropDownContent
>
<
WindowsFormsHost
>
<
Forms32:WebBrowser
Url
=
"google.com"
></
Forms32:WebBrowser
>
</
WindowsFormsHost
>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>
<
telerik:RadDropDownButton
Content
=
"Button"
HorizontalAlignment
=
"Left"
Height
=
"Auto"
IsOpen
=
"False"
Margin
=
"129,21,0,0"
VerticalAlignment
=
"Top"
Width
=
"Auto"
>
<
telerik:RadDropDownButton.DropDownContent
>
<
WindowsFormsHost
>
<
Forms32:TextBox
Text
=
"Test Text Box"
></
Forms32:TextBox
>
</
WindowsFormsHost
>
</
telerik:RadDropDownButton.DropDownContent
>
</
telerik:RadDropDownButton
>
</
Grid
>
</
Window
>