Hi,
I'm trying to use a RadWindow inside a template, and it never displays (probably because .Show() is not called). The only way to get my templated control to invoke the OnApplyTemplate override is by adding it to the tree, in which case I can't do a .Show() without getting an error that the RadWindow already has a parent (which it doesn't appear to).
Anyway, I'm just trying to use the RadWindow inside a template, like this. Is there a trick to this? (Maybe getting it to show without calling .Show or something...)
<Style TargetType="local:peResults">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="local:peResults">
<telerikNavigation:RadWindow x:Name="PART_RootElement" Header="Results" Left="100" Top="20" Width="260" ResizeMode="CanResize" >
...
I'm trying to use a RadWindow inside a template, and it never displays (probably because .Show() is not called). The only way to get my templated control to invoke the OnApplyTemplate override is by adding it to the tree, in which case I can't do a .Show() without getting an error that the RadWindow already has a parent (which it doesn't appear to).
Anyway, I'm just trying to use the RadWindow inside a template, like this. Is there a trick to this? (Maybe getting it to show without calling .Show or something...)
<Style TargetType="local:peResults">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="local:peResults">
<telerikNavigation:RadWindow x:Name="PART_RootElement" Header="Results" Left="100" Top="20" Width="260" ResizeMode="CanResize" >
...