Telerik Forums
UI for Xamarin Forum
1 answer
147 views
Hello, I am using RadAutoCompleteView control on my code and it works perfectly for Android and IOS. Still, when I use landscape mode for small screens (an issue for IOS and phone is iPhone XR) native soft keyboard hides control and I can't click or move it to the top of the screen to choose some elements. What kind of solution do I have to control this situation?
Didi
Telerik team
 answered on 13 Oct 2022
1 answer
125 views

When I tap on the RadComboBox arrow in listview it gives the below exception. Kindly help

event registration is overwriting existing delegate. either just use events or your own delegate: xamarin.forms.platform.ios.listviewrenderer+listviewdatasource uikit.uiscrollview+_uiscrollviewdelegate

Didi
Telerik team
 answered on 10 Oct 2022
1 answer
183 views

Hi there,

We use a Radlistview to show a series of items with prices and a +/- to change the amount. We have made those items swipeable, so the user can easily swipe those items away to delete them. See example below (sensitive information is censored):

However, even when users do not swipe the item to the right, they can not interact with the minus button. This seems to be because the button is in the swipeable area. If we make the swipeable area smaller, some of the minus button is interactable, and if we make it larger, the plus button also stops being interactable.

Note that the minus button can't be interacted with even if the button is visible.

 

 

Is this design as intended, or is this a bug? If it is intended, what is the recommended way to allow the button to be interacted with, while also allowing the list item to be swiped?


The code used for this is:
<ContentPage
    xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
    xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"
    xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"
    xmlns:telerikPrimitives="clr-namespace:Telerik.XamarinForms.Primitives;assembly=Telerik.XamarinForms.Primitives"
    xmlns:xct="http://xamarin.com/schemas/2020/toolkit">

<telerikDataControls:RadListView
                    Grid.Row="0"
                    IsItemSwipeEnabled="True"
                    ItemTemplateSelector="{StaticResource ReceiptDataSelector}"
                    ItemsSource="{Binding Receipt.ReceiptLines}"
                    SelectedItems="{Binding SelectedReceiptLines}"
                    SelectionMode="Multiple"
                    SwipeOffset="90, 0, 0, 0"
                    SwipeThreshold="20">
                    <telerikDataControls:RadListView.SelectedItemStyle>
                        <telerikListView:ListViewItemStyle BackgroundColor="{StaticResource SelectionAccentColor}" BorderWidth="0" />
                    </telerikDataControls:RadListView.SelectedItemStyle>
                    <telerikDataControls:RadListView.ItemSwipeContentTemplate>
                        <DataTemplate x:DataType="components:IReceiptLine">
                            <Grid
                                Margin="0"
                                Padding="0"
                                ColumnSpacing="0"
                                RowSpacing="0">
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="90" />
                                    <ColumnDefinition Width="*" />
                                </Grid.ColumnDefinitions>
                                <telerikInput:RadButton
                                    Grid.Column="0"
                                    Margin="0"
                                    BackgroundColor="Red"
                                    BorderRadius="0"
                                    Command="{Binding RemoveLineCommand, Source={RelativeSource AncestorType={x:Type local:SalePageModel}}}"
                                    CommandParameter="{Binding}"
                                    FontFamily="FontAwesomeSolid"
                                    FontSize="Medium"
                                    Text="&#xf1f8;"
                                    WidthRequest="90" />
                            </Grid>
                        </DataTemplate>
                    </telerikDataControls:RadListView.ItemSwipeContentTemplate>
                </telerikDataControls:RadListView>

code is:

 

Didi
Telerik team
 answered on 22 Sep 2022
1 answer
157 views

Hello Team,

May I have an URL with compatibility between TelerikUIXamarin and Xamarin Forms - history and depndencies? Possibly iOS/XCode.

Thanks

Jacek

Didi
Telerik team
 answered on 22 Sep 2022
0 answers
108 views

Hi,

I have a Xamarin Forms application using RadListView. As part of the ItemTemplate I have a Switch as described below:

<Switch
                HorizontalOptions="Start"
                IsEnabled="True"
                IsToggled="{Binding Toggle}"
                IsVisible="{Binding IsConfirmCheckVisible}"
                OnColor="Green"
                ThumbColor="Green">
                <Switch.Triggers>
                    <DataTrigger
                        Binding="{Binding Source={x:Reference chkConfirmCheck}, Path=IsToggled}"
                        TargetType="Switch"
                        Value="False">
                        <Setter Property="ThumbColor" Value="Red" />
                        <Setter Property="OnColor" Value="Red" />
                        <Setter Property="IsEnabled" Value="False" />
                    </DataTrigger>
                </Switch.Triggers>
                <Switch.Behaviors>
                    <behaviors:EventToCommandBehavior
                        Command="{Binding Source={x:Reference ParentBindingContext}, Path=BindingContext.UpdateTrickCommand}"
                        CommandParameter="{Binding .}"
                        EventName="Toggled" />
                </Switch.Behaviors>
            </Switch>

If I have a list of items in the RadListView and I start to scroll, then the Toggled event is fired on the Switch. All items for the RadListView is an ObservableCollection and it is loaded when the screen is opened. Is there an issue with the code above that would cause the Toggled event to be fired upon scrolling in a RadListView? This issue only appears on iOS and on a Phone. The iPad and Android devices behave as it's supposed to i.e. Just scrolls as normal and does not fire the Toggle event.

 Telerik UI For Xamarin Version: 2022.1.117.1
Nivesh
Top achievements
Rank 1
 updated question on 20 Sep 2022
2 answers
107 views

Does Xamarin ImageEditor have swipe gesture ? To change between several images. 

 

Regards

mr
Top achievements
Rank 1
Iron
 answered on 06 Sep 2022
1 answer
183 views
Hello, for the timeSpan Picker spinner I am using this "dd\\:hh\\:mm" format, after selecting I wanna show a different display format, how can I use DisplayStringFormat to show just Hours and Minutes, the form should be like this "hh: mm"?
Didi
Telerik team
 answered on 29 Aug 2022
0 answers
94 views
Excuse me, telerik has controls that can be implemented. Does lable's text scroll in the same direction all the time!
zhe
Top achievements
Rank 1
Iron
Iron
 asked on 15 Aug 2022
1 answer
199 views
please, how I can fix this issue? On the attached files you can see the Xamarin versions (with red has marked works version for the Xamarin.).
Didi
Telerik team
 answered on 04 Aug 2022
1 answer
88 views

Hi, I am using remote search and I need to show all elements after the Focused when the Text is empty (after focused I can get ItemsSource but the Suggestions PopUp is empty) !!! How can I do that?

Thank you...

Didi
Telerik team
 answered on 03 Aug 2022
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?