This question is locked. New answers and comments are not allowed.
I have several RadWindows in my WP7 app. The first one is part of MainPage.xaml and it opens with a black background (expected).
When I navigate to a different page that contains another RadWindow, the window initially opens when the page loaded event is fired. The first time this RadWindow opens, its background is transparent and not black (default) which I want. When I close the RadWindow and reopen it via the ApplicationBar it displays with the black background. Truly Bizzaro.
XAML:
<Grid x:Name="LayoutRoot" >
<Grid.Background>
<ImageBrush ImageSource="/MyAppName;component/images/SinglePageBackground.png"
Stretch="Fill" />
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,10">
<TextBlock x:Name="ApplicationTitle" Text="My App Title" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="My Page Title"
Margin="9,5,0,0" Foreground="White" FontWeight="Bold"
FontSize="35" TextAlignment="Left" />
</StackPanel>
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" Height="Auto">
<ListBox x:Name="lbItemsList" >
<ListBox.Background>
<ImageBrush ImageSource="/PersonalMedsTraker;component/images/MedItemsBackground.png"
Stretch="Fill" Opacity=".65" />
</ListBox.Background>
***** Lots of stack panels in here *******
</ListBox>
<TextBlock x:Name="tbID" Visibility="Collapsed" />
</Grid>
<telerikPrimitives:RadWindow x:Name="rwHelpInfo" IsFullScreen="True" IsOpen="False" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="670"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0">
<Grid >
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Text="Help Page" Margin="0,10,0,5" FontSize="27" Grid.Row="0"/>
<TextBlock TextWrapping="Wrap" Margin="0,5,0,0" Grid.Row="1" FontSize="25">
......
</TextBlock>
</Grid>
</ScrollViewer>
<Button x:Name="btClose" Content="Close" Grid.Row="1" HorizontalAlignment="Center"
Click="btClose_Click" Width="175" Margin="0,15,0,0" />
</Grid>
</Grid>
When I navigate to a different page that contains another RadWindow, the window initially opens when the page loaded event is fired. The first time this RadWindow opens, its background is transparent and not black (default) which I want. When I close the RadWindow and reopen it via the ApplicationBar it displays with the black background. Truly Bizzaro.
XAML:
<Grid x:Name="LayoutRoot" >
<Grid.Background>
<ImageBrush ImageSource="/MyAppName;component/images/SinglePageBackground.png"
Stretch="Fill" />
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<!--TitlePanel contains the name of the application and page title-->
<StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,10">
<TextBlock x:Name="ApplicationTitle" Text="My App Title" Style="{StaticResource PhoneTextNormalStyle}"/>
<TextBlock x:Name="PageTitle" Text="My Page Title"
Margin="9,5,0,0" Foreground="White" FontWeight="Bold"
FontSize="35" TextAlignment="Left" />
</StackPanel>
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0" Height="Auto">
<ListBox x:Name="lbItemsList" >
<ListBox.Background>
<ImageBrush ImageSource="/PersonalMedsTraker;component/images/MedItemsBackground.png"
Stretch="Fill" Opacity=".65" />
</ListBox.Background>
***** Lots of stack panels in here *******
</ListBox>
<TextBlock x:Name="tbID" Visibility="Collapsed" />
</Grid>
<telerikPrimitives:RadWindow x:Name="rwHelpInfo" IsFullScreen="True" IsOpen="False" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="670"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="0">
<Grid >
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<TextBlock Text="Help Page" Margin="0,10,0,5" FontSize="27" Grid.Row="0"/>
<TextBlock TextWrapping="Wrap" Margin="0,5,0,0" Grid.Row="1" FontSize="25">
......
</TextBlock>
</Grid>
</ScrollViewer>
<Button x:Name="btClose" Content="Close" Grid.Row="1" HorizontalAlignment="Center"
Click="btClose_Click" Width="175" Margin="0,15,0,0" />
</Grid>
</Grid>