CoverFlow (Silverlight Only) > CoverFlow XAML Quick Reference |
This topic is dedicated to providing a quick overview of the XAML used to complete various C1CoverFlow tasks. For more information, see the CoverFlow for Silverlight Task-Based Help section.
C1CoverFlow with C1CoverFlowItems
The following XAML creates a C1CoverFlow control with two C1CoverFlowItems nested in it. The C1CoverFlowItems then have arbitrary controls nested within them.
XAML |
Copy Code
|
---|---|
<c1:C1CoverFlow Height="278" HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1CoverFlow1" VerticalAlignment="Top" Width="378"> <c1:C1CoverFlowItem Height="auto" HorizontalAlignment="Left" Name="c1CoverFlowItem1" VerticalAlignment="Top" Width="auto"> <sdk:Calendar Height="172" Width="249" /> </c1:C1CoverFlowItem> <Image Source="/XAMLReference1;component/Images/Cropped.jpg" /> <c1:C1CoverFlowItem /> </c1:C1CoverFlow> |
C1CoverFlow with Theme
The following XAML applies the ShinyBlue theme to the C1CoverFlow control.
XAML |
Copy Code
|
---|---|
<c1:C1ThemeShinyBlue Height="290" HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1ThemeShinyBlue1" VerticalAlignment="Top" Width="auto"> <c1:C1CoverFlow Height="278" HorizontalAlignment="Left" Margin="10,10,0,0" Name="c1CoverFlow1" VerticalAlignment="Top" Width="378"> </c1:C1CoverFlow> </c1:C1ThemeShinyBlue> |