Telerik Forums
UI for Universal Windows Platform Forum
6 answers
69 views

I'm very happy to hear about the first official version (Q1 2016) for UWP has been released. 

But I found out my favorite ui control databoundlistbox has too many bugs to be used.

I cannot find sub board for databoundlistbox in the forum, so I post here.

 

When you dragging the scrollbar to top quickly, the layout of databoundlistbox will be wrong.

I have attacted a gif to show this issue. And I     

Christof
Top achievements
Rank 2
 answered on 25 Feb 2016
1 answer
39 views

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

 

 

 

 

 

 
 
 
 
 
 
 
Pavel R. Pavlov
Telerik team
 answered on 18 Feb 2016
1 answer
46 views

I'm setting ItemCheckBoxPosition to "BeforeItem" and it renders the same as "NextToItem".

Thanks,

-ldl-

 

 
 
 
 
Vladislav
Telerik team
 answered on 03 Feb 2016
2 answers
79 views

I have the following code in my viewModel:

1.<p>public RelayCommand RefreshPage { get; private set; }</p><p>public MainViewModel(INavigationService navigationService)<br>        {<br>            _navigationService = navigationService;<br>            LoadData();           <br>            GetDetailsCommand = new RelayCommand<object>(ShowDetailsAction);           <br>            RefreshPage = new RelayCommand(() => RefreshPageAction());<br>        }</p><p>private async System.Threading.Tasks.Task<object> LoadData()<br>        {<br>            BusyIndicatorVisibility = true;<br>            try<br>            {<br>                await _NewsItemCollection.GetAllNewsItem((x) =><br>                {<br>                    AllNewsItem = x;<br>                    BusyIndicatorVisibility = false;<br>                });<br>            }<br>            catch<br>            {<br>                //NetworkNotFoundErrorVisible = true;<br>            }<br>            return null;<br>        }</p><p> private async System.Threading.Tasks.Task<object> RefreshPageAction()<br>        {<br>            //BusyIndicatorVisibility = true;<br>            return await LoadData();<br>        }</p>
I want to bind the the RefreshPage RelayCommand to the PullToRefresh Behavior of ListView. How can i do that?

 

Tsvyatko
Telerik team
 answered on 13 Jan 2016
3 answers
460 views

Hello,

I'm working with the ListView and I'm having some problems, I was wondering if I was just missing a simple Property to set or if there's some sort of problem with the control itself.

What's happening is that the ListView is adding some margins to the left and the right of the ItemTemplates (even though in the XAML designer I can see that the ListView itself covers the full width of the page), and is somehow scaling up the TextBlocks inside each template, so as a result the whole UI of the templates is messed up.

I attached a screen to show you the difference and result I'd like to get.

This is the code of the ListView:  

<telerik:RadListView EmptyContentDisplayMode="DataSourceEmpty"
              ItemsSource="{x:Bind ViewModel.ItemGroups, Mode=OneWay}"
              Padding="0"
              Margin="0"
              HorizontalAlignment="Stretch"
              HorizontalContentAlignment="Stretch"
              IsActionOnSwipeEnabled="False"
              IsCheckModeActive="False"
              IsDoubleTapEnabled="False"
              IsItemReorderEnabled="False"
              SelectionMode="None">
  <telerik:RadListView.LayoutDefinition>
    <telerikListView:StackLayoutDefinition/>
  </telerik:RadListView.LayoutDefinition>
  <telerik:RadListView.ListHeader>
    <Grid Height="48"/>
  </telerik:RadListView.ListHeader>
  <telerik:RadListView.EmptyContent>
    <TextBlock Text="This folder is empty :'("
            Margin="32,32,0,0"
            FontWeight="SemiLight"
            FontSize="20"
            Foreground="#FFD0D0D0"/>
  </telerik:RadListView.EmptyContent>
    <telerik:RadListView.ItemTemplate>
      <DataTemplate x:DataType="dataModels:ItemsGroupWithOptionalSectionModel">
        <templates:SectionedGroupTemplate/>
      </DataTemplate>
    </telerik:RadListView.ItemTemplate>
</telerik:RadListView>

 I already tried setting the Padding and the Margin properties to 0, or to set HorizontalAlignment="Stretch", but I didn't solve the issue.

 Is there a way to prevent the ListView to behave this way and to have it render its content without any type of modifications, just like a simple StackPanel?

 

Thank you in advance for your help.

Best regards,

Sergio

Sergio
Top achievements
Rank 1
 answered on 29 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?