This is a migrated thread and some comments may be shown as answers.

RadCarousel - vertical Items

0 Answers 45 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
ITA
Top achievements
Rank 1
ITA asked on 13 Feb 2012, 01:29 PM
Hi,

i have a mvvm item collection wich is bounded to my radcraousel. I habe a cutom item template and i want to have
the item vertical and not horizontal. But how does that work? I can't find any working example. I need help please.

<DataTemplate x:Key="customItemTemplate">
            <Border Background="LightSlateGray" Padding="10">
                <Grid>
                    <StackPanel>
                        <TextBlock Text="{Binding TaskID}" TextWrapping="Wrap" Foreground="White" FontSize="11" TextAlignment="Center" Margin="0,0,3,0"/>
 
                    </StackPanel>
                </Grid>
            </Border>
        </DataTemplate>
 
<telerik:RadCarousel x:Name="sampleRadCarousel" ItemsSource="{Binding Task}" AutoGenerateDataPresenters="False" Background="Transparent"   ItemTemplate="{StaticResource customItemTemplate}" />                         

Thanks a lot
regrads
ww

No answers yet. Maybe you can help?

Tags
Carousel
Asked by
ITA
Top achievements
Rank 1
Share this question
or