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

Documentation with FirstActionContent

1 Answer 33 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Christof
Top achievements
Rank 2
Christof asked on 15 Feb 2016, 06:43 PM

Hello!

 I have some issues with the RadListView Control for UWP.

First, in the get started Documentation there is a reference for:

"Alternatively, you can add a reference to Telerik UI for Windows Universal SDK."

Do you mean maybe Telerik UI for Universal Windows Platform SDK?

How can i use this Styling Example in UWP?

<telerikDataControls:RadListView.FirstActionContent>

 </telerikDataControls:RadListView.FirstActionContent>

 There is no FirstActionContent in the RadListView Universal Windows Platform SDK.

 Thanks for help

 

 

 

 

 

 
 
 
 
 
 
 

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 18 Feb 2016, 07:57 AM
Hi Christof,

Thank you for contacting us on that matter. You are right that users can get confused about this feature of the RadListView when reading the documentation alone. This is something that we will consider to improve. Let me try to explain how the swipe feature should be used. Please note that in the documentation "first action button" and "second action button" are not actual properties of the RadListView component. These strings should be referred to as explanations regarding the buttons. If you need to create custom swipe content you can do this by using the RadListView.SwipeActionContent property. You can define it like this and you will have two action buttons:

<telerikDataControls:RadListView.SwipeActionContent>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Button Content="A"
                CommandParameter="{Binding}"
                Command="{Binding CommandA}" />
        <Button Content="B"
                Command="{Binding CommandB}"
                CommandParameter="{Binding}"
                HorizontalAlignment="Right"
                Grid.Column="1" />
    </Grid>
</telerikDataControls:RadListView.SwipeActionContent>
As for the SDK that you need to reference, you actually refer to two different SDKs. Telerik UI for Windows Universal requires Windows 8.1 and Visual Studio 2013 (see article) or higher as for Telerik UI for Universal Windows Platform - it requires Windows 10 and Visual Studio 2015 as minimum (see article). This means you can create applications using our Telerik UI for Windows Universal under Windows 10, but you cannot create applications using our Telerik UI for Universal Windows Platform under Windows 8.1. 

Essentially both SDKs share the same code base with minimal differences. At the end of the day you need to decide which devices your application will support and based on that you should be able to decide which OS and Visual Studio versions you are required to use. In both cases you will be able to take advantage of our UI components.

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Christof
Top achievements
Rank 2
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or