I have a weird problem with a RadWIndow that is to replace the regular Window.
It's showing inside what appears to be a browser and I have no idea how to fix this.
Any ideas?
MainWindow.xaml
<
telerik:RadWindow
x:Class
=
"TelerikWpfApp1.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Width
=
"1200"
Height
=
"850"
Loaded
=
"Window_Loaded"
WindowStartupLocation
=
"CenterScreen"
MinWidth
=
"1200"
MinHeight
=
"850"
CaptionHeight
=
"25"
IsRestricted
=
"True"
>
<
telerik:RadWindow.Resources
>
<
telerik:StringToGlyphConverter
x:Key
=
"StringToGlyphConverter"
/>
<
telerik:NullToVisibilityConverter
x:Key
=
"NullToVisibilityConverter"
/>
<
Style
x:Key
=
"ItemPreviewStyle"
TargetType
=
"telerik:RadNavigationViewItem"
>
<
Setter
Property
=
"IconTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
telerik:RadGlyph
Glyph
=
"{Binding Converter={StaticResource StringToGlyphConverter}}"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
x:Key
=
"ItemBaseStyle"
TargetType
=
"telerik:RadNavigationViewItem"
BasedOn
=
"{StaticResource ItemPreviewStyle}"
>
<
Setter
Property
=
"Content"
Value
=
"{Binding Title}"
/>
<
Setter
Property
=
"ItemsSource"
Value
=
"{Binding SubItems}"
/>
<
Setter
Property
=
"Icon"
Value
=
"{Binding Icon}"
/>
<
Setter
Property
=
"IconVisibility"
Value
=
"{Binding Icon, Converter={StaticResource NullToVisibilityConverter}}"
/>
</
Style
>
<
Style
x:Key
=
"ItemStyle"
TargetType
=
"telerik:RadNavigationViewItem"
BasedOn
=
"{StaticResource ItemBaseStyle}"
>
<
Setter
Property
=
"ItemContainerStyle"
Value
=
"{StaticResource ItemBaseStyle}"
/>
</
Style
>
</
telerik:RadWindow.Resources
>
<
telerik:RadNavigationView
x:Name
=
"NavigationView"
ItemsSource
=
"{Binding Items}"
ItemContainerStyle
=
"{StaticResource ItemStyle}"
AutoChangeDisplayMode
=
"True"
DisplayMode
=
"Expanded"
AllowMultipleExpandedItems
=
"True"
SubItemsIndentation
=
"40"
telerik:AnimationManager.IsAnimationEnabled
=
"True"
Loaded
=
"OnNavigationViewLoaded"
SelectionChanged
=
"OnNavigationViewSelectionChanged"
>
<
Frame
x:Name
=
"frm"
/>
</
telerik:RadNavigationView
>
</
telerik:RadWindow
>