Getting Started

This article demonstrates how to create a sample application that contains RadSlideView.

Before you proceed, please, take a look at these articles and follow the instructions to setup your app:

You can find the assemblies needed by the control in the Required Telerik Assemblies article.

Populating with data

RadSlideView is populated via its ItemsSource property. The control will display an indicator for each item in the ItemsSource and display the view of the selected item.

You can use the ItemTemplate and ItemTemplateSelector properties to customize the views appearance.

Setting up RadSlideView

To use the slideview control you can include the following namespaces:

xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
using Telerik.XamarinForms.Primitives;

To display any items you can set the control's ItemsSource property and populate it with some data.

XAML

<telerikPrimitives:RadSlideView>
    <telerikPrimitives:RadSlideView.ItemsSource>
        <x:Array Type="{x:Type x:String}">                    
            <x:String>View 1</x:String>
            <x:String>View 2</x:String>
            <x:String>View 3</x:String>
        </x:Array>
    </telerikPrimitives:RadSlideView.ItemsSource>
</telerikPrimitives:RadSlideView>

Figure 1: RadSlideView example

RadSlideView example

Check the ItemTemplate article to see how to populate the control with business items and customize their appearance.

See Also