This question is locked. New answers and comments are not allowed.
Hello,
I am new to silverlight but love it so far. Here my issue. I am displaying a coverflow and want to switch from the default GRID to Stackpanel layout this code works fine
But this code the background show but the Coverflow is gone now
I am new to silverlight but love it so far. Here my issue. I am displaying a coverflow and want to switch from the default GRID to Stackpanel layout this code works fine
<UserControl x:Class="SL_BEXProducts_CoverFlow.MainPage" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"> |
<UserControl.Resources> |
<Style x:Key="ImageStyle" TargetType="Image"> |
<Setter Property="Width" Value="150" /> |
<Setter Property="Height" Value="100" /> |
<Setter Property="Stretch" Value="Uniform" /> |
</Style> |
</UserControl.Resources> |
<Border CornerRadius="5" BorderThickness="5" BorderBrush="Black" Margin="5,0,0,-5"> |
<Border.Background> |
<ImageBrush ImageSource="images/CoverFlowBackground.jpg" |
Stretch="Fill" /> |
</Border.Background> |
<Grid x:Name="LayoutRoot"> |
<telerikNavigation:RadCoverFlow x:Name="CoverFlow" CameraViewpoint="Top"> |
<Image Source="images/Email.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/BEST.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/SiteMonitor.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/Stats.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/Track.png" Style="{StaticResource ImageStyle}" /> |
</telerikNavigation:RadCoverFlow> |
</Grid> |
</Border> |
</UserControl> |
But this code the background show but the Coverflow is gone now
<UserControl x:Class="SL_BEXProducts_CoverFlow.MainPage" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"> |
<UserControl.Resources> |
<Style x:Key="ImageStyle" TargetType="Image"> |
<Setter Property="Width" Value="150" /> |
<Setter Property="Height" Value="100" /> |
<Setter Property="Stretch" Value="Uniform" /> |
</Style> |
</UserControl.Resources> |
<Border CornerRadius="5" BorderThickness="5" BorderBrush="Black" Margin="5,0,0,-5"> |
<Border.Background> |
<ImageBrush ImageSource="images/CoverFlowBackground.jpg" |
Stretch="Fill" /> |
</Border.Background> |
<StackPanel x:Name="LayoutRoot"> |
<telerikNavigation:RadCoverFlow x:Name="CoverFlow" CameraViewpoint="Top"> |
<Image Source="images/Email.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/BEST.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/SiteMonitor.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/Stats.png" Style="{StaticResource ImageStyle}" /> |
<Image Source="images/Track.png" Style="{StaticResource ImageStyle}" /> |
</telerikNavigation:RadCoverFlow> |
</StackPanel > |
</Border> |
</UserControl> |