Telerik Forums
UI for Xamarin Forum
0 answers
12 views

Hello,

Is there any way to change the position of Series Label ? And font size ?

Here is an exemple where i would like to put labels at the end for the green serie, and in the middle for the purple serie.

 

Thanks !

Sébastien
Top achievements
Rank 1
 asked on 20 Feb 2024
1 answer
19 views

Hi Support Team,

 

I have an Xamarin application, and I using LineSeries chart.

One chart field contain more chart.

My issue, that on  IPhone the charts don' work good, the stroks colors don't realy colors, I setting other colors.
If I switch off the chart, I set color is transparent, don' other possible.

I can't switch off my chart, there is non "IsVisible" property!

In Android system chart all right working.

Wat is solution?

 

Best Regards,

Sandor Sapi

Didi
Telerik team
 answered on 19 Feb 2024
1 answer
13 views

Hi,

I have a problem, with maintaining ScrollY position of ScrollView after RadBusyIndicator gets disabled: 

I have following XAML structure:

    <telerik:RadBusyIndicator>
        <telerik:RadBusyIndicator.Content>
            <ScrollView>
                <StackLayout>
                    .....
                </StackLayout>
           </ScrollView>
        </telerik:RadBusyIndicator.Content>
    </telerik:RadBusyIndicator>

At the very end of StackLayout I have a button that triggers some action and RadBusyIndicator needs to be shown, but when RadBusyIndicator gets Disabled (IsBussy = false) ScrollView go to the very top without triggering Scrolled event in ScrollView. 

How to persist scroll position when using RadBusyIndicator ?

Didi
Telerik team
 answered on 19 Feb 2024
0 answers
10 views

Hi Team,

 

I have an Issue. I build an application with Telerik Chart component, but in case of release version (aapt bound) the chart x and y axis data label lost.
Please help if anyone konw solutions.

 

Best Regards,

Sandor Sapi from Hungary

Sándor
Top achievements
Rank 1
 asked on 08 Feb 2024
1 answer
13 views
Not able to apply DarkTheme colors in RadComboBox in Xamarin Android. Please help
Didi
Telerik team
 answered on 23 Jan 2024
0 answers
13 views
How i change all checkbox values to true from an event ??
<telerikDataControls:RadListView x:Name="InstructionsList"
                                                            IsPullToRefreshActive="False"
                                                            IsPullToRefreshEnabled="False" 
                                                            BackgroundColor="Transparent"
                                                                     VerticalScrollBarVisibility="Always"
                                                                     
                                                            GroupHeaderTapped="InstructionsList_GroupHeaderTapped"
                                                            NativeControlLoaded="InstructionsList_NativeControlLoaded">
                                      
                                        
                                        <telerikDataControls:RadListView.GroupDescriptors>
                                            <telerikListView:PropertyGroupDescriptor PropertyName="GroupDesc"/>
                                        </telerikDataControls:RadListView.GroupDescriptors>
                                        
                                        <telerikDataControls:RadListView.GroupHeaderTemplate>
                                            <DataTemplate>
                                                <Grid>
                                                    <Grid.ColumnDefinitions>
                                                        <ColumnDefinition Width="Auto" />
                                                        <ColumnDefinition Width="*" />
                                                        <ColumnDefinition Width="Auto" />
                                                    </Grid.ColumnDefinitions>
                                                    <Label Text="&#x25B8;" Grid.Column="2" Margin="8, 12, 0, 6" FontSize="50" TextColor="{Binding ., Converter={StaticResource EndInstructionsTabGroupHeaderColorConverter}}">
                                                            <Label.Triggers>
                                                                <DataTrigger TargetType="Label" Binding="{Binding IsExpanded}" Value="True">
                                                        <Setter Property="Text" Value="&#x25BE;" />
                                                        </DataTrigger>
                                                        </Label.Triggers>
                                                    </Label>
                                                    <Label Text="{Binding Key}" Grid.Column="1" TextColor="DarkGray" FontAttributes="Bold" VerticalOptions="Center" HorizontalOptions="StartAndExpand" Margin="0,0,0,10" FontSize="18">
                                                        <Label.GestureRecognizers>
                                                        <TapGestureRecognizer Tapped="OnInstructionGroupHeaderDoubleTap" NumberOfTapsRequired="2" CommandParameter="{Binding .}"/>
                                                        </Label.GestureRecognizers>
                                                    </Label>
                                                    <CheckBox x:Name ="ActionCheckBox" IsChecked="{Binding ., Converter={local:EndInstructionsTabGroupHeaderCheckBoxCheckStateConverter}}" CheckedChanged="TaskInstructionGroupItemCheckBox_CheckedChanged" Grid.Column="0" VerticalOptions="Center" HorizontalOptions="End" Color="DarkGray"/>
                                                </Grid>
                                            </DataTemplate>
                                        </telerikDataControls:RadListView.GroupHeaderTemplate>
                                        
                                        <telerikDataControls:RadListView.ItemTemplate>
                                            <DataTemplate>
                                                <telerikListView:ListViewTemplateCell>
                                                    <telerikListView:ListViewTemplateCell.View>
                                                        <telerikPrimitives:RadBorder BackgroundColor="LightBlue" Margin="5" CornerRadius="18" BorderColor="Black">
                                                            <StackLayout Orientation="Horizontal" Style="{StaticResource ListItem}" Padding="0">
                                                                <StackLayout Orientation="Vertical" HorizontalOptions="FillAndExpand" Spacing="0" Padding="0, 5">
                                                                    <StackLayout Orientation="Vertical" HorizontalOptions="FillAndExpand" Spacing="5" Padding="5">
 
                                                                        <StackLayout Orientation="Vertical" Margin="0,15,0,0" IsVisible="{Binding isTopListGeneralItem}">
 
                                                                            <Label IsVisible="{Binding isLabelVisible}" Text="{Binding Description}"  FontSize="16"/>
                                                                            
                                                                            <Frame Padding="0"
                                                                                   CornerRadius="5"
                                                                                   HorizontalOptions="FillAndExpand"
                                                                                   BackgroundColor="White"
                                                                                   IsVisible="{Binding isEntryVisible}">
                                                                                <tools:SelectableEntry TextColor="{StaticResource LightBlueColor}"
                                                                                   Text="{Binding Value}"
                                                                                   Keyboard="{Binding KeyboardTypeBasedOnTaskActionResultType}"
                                                                                   TextChanged= "SelectableEntry_TextChanged"
                                                                                   HorizontalOptions="FillAndExpand"
                                                                                   HorizontalTextAlignment="Start"
                                                                                   ReturnType="Done"
                                                                                   VerticalOptions="Center"
                                                                                />
                                                                            </Frame>
 
                                                                            <Picker
                                                                                IsVisible="{Binding isBooleanEntryVisible}"
                                                                                SelectedIndexChanged="Picker_SelectedIndexChanged"
                                                                                BackgroundColor="White"
                                                                                SelectedItem="{Binding Value}"
                                                                            >
                                                                                <Picker.ItemsSource>
                                                                                    <x:Array Type="{x:Type x:String}">
                                                                                        <x:String>True</x:String>
                                                                                        <x:String>False</x:String>
                                                                                    </x:Array>
                                                                                </Picker.ItemsSource>
                                                                            </Picker>
 
                                                                            <Picker
                                                                                IsVisible="{Binding isLookupTaskActionResult}"
                                                                                SelectedIndexChanged="TaskActionResultLookupValuePicker_SelectedIndexChanged"
                                                                                ItemsSource="{Binding TaskInstructionResultLookupValues}"
                                                                                ItemDisplayBinding="{Binding Value}"
                                                                                BackgroundColor="White"
                                                                                SelectedItem="{Binding TaskInstructionResultLookupValueSelectedItemBinding}"/>
 
                                                                            <Label Text="{x:Static resx:Resources.Observations}" FontSize="16" />
                                                                            
                                                                            <Frame Padding="0" CornerRadius="5" IsClippedToBounds="true" HorizontalOptions="FillAndExpand">
                                                                                <tools:SelectableEntry TextColor="Black"
                                                                                    HorizontalOptions="FillAndExpand"
                                                                                    HorizontalTextAlignment="Start"
                                                                                    VerticalOptions="Center"
                                                                                    Text="{Binding CommentsOfParentInstruction}"
                                                                                    ReturnType="Done"
                                                                                />
                                                                            </Frame>
                                                                            
                                                                            <StackLayout x:Name="EstimatedTime" Orientation="Horizontal">
                                                                                <Label Text="{x:Static resx:Resources.EstimatedTime}" Style="{StaticResource Info}" TextColor="Gray" FontSize="12" />
                                                                                <Label Text="{Binding EstimatedDurationOfParentInstruction}" Style="{StaticResource Info}" TextColor="Gray" FontSize="12" />
                                                                            </StackLayout>
                                                                            
                                                                        </StackLayout>
 
                                                                        <StackLayout IsVisible="{Binding isMeasure}">
                                                                            <Label Text="{Binding Description}" Style="{StaticResource MeasureListHeader}" />
                                                                        
                                                                            <StackLayout Orientation="Horizontal">
                                                                                <Label Text="{x:Static resx:Resources.Counterlbl}" Style="{StaticResource MeasureListDetail}" />
                                                                                <Label Text="{Binding MeasurementCounter}" Style="{StaticResource MeasureListDetail}" />
                                                                            </StackLayout>
                                                                    
                                                                            <StackLayout Orientation="Horizontal">
                                                                                <Label Text="{Binding Remarks}" Style="{StaticResource MeasureListDetail}" />
                                                                            </StackLayout>
                                                                        
                                                                            <StackLayout Orientation="Horizontal" HorizontalOptions="FillAndExpand" Padding="0, 0, 5, 0">
                                                                                <Frame Padding="0" CornerRadius="5" IsClippedToBounds="true" HorizontalOptions="FillAndExpand">
                                                                                    <tools:SelectableEntry TextColor="{StaticResource LightBlueColor}"
                                                                                                           Text="{Binding Value}"
                                                                                                           Keyboard="Numeric"
                                                                                                           IsVisible="{Binding isMeasure}"
                                                                                                           HorizontalOptions="FillAndExpand"
                                                                                                           HorizontalTextAlignment="center"
                                                                                                           VerticalOptions="Center" />
                                                                                </Frame>
                                                                                <Label Text="{Binding MeasurementUnit}" Style="{StaticResource MeasureListDetail}" VerticalOptions="Center" HorizontalOptions="End" />
                                                                            </StackLayout>
                                                                        </StackLayout>
                                                                        
                                                                    </StackLayout>
                                                                </StackLayout>
                                                            </StackLayout>
                                                        </telerikPrimitives:RadBorder>
                                                    </telerikListView:ListViewTemplateCell.View>
                                                </telerikListView:ListViewTemplateCell>
                                            </DataTemplate>
                                        </telerikDataControls:RadListView.ItemTemplate>
                                    </telerikDataControls:RadListView>
Ioannis
Top achievements
Rank 1
Iron
 asked on 15 Jan 2024
1 answer
14 views

Hi,

I need to show suggestios when user focues on control or deletes text completely but this is not working as expected. My custom filter function already retruns data properly for empty search strings.

This is my TextCahnged event implemtation:

        private void usersAutoCompleteView_TextChanged(object sender, TextChangedEventArgs e)
        {
            var control = (RadAutoCompleteView)sender;
            if (string.IsNullOrEmpty(e.NewTextValue) && !string.IsNullOrEmpty(e.OldTextValue))
            {
                control.ShowSuggestions();
            }
        }

And this is my Focused event implementation:

        private void usersAutoCompleteView_Focused(object sender, FocusEventArgs e)
        {
            var control = (RadAutoCompleteView)sender;
            if (string.IsNullOrEmpty(control.SearchText))
            {
                control.ShowSuggestions();
            }
        }

I am also using SuggestionItemSelected event but is really simple: 
      private void usersAutoCompleteView_SuggestionItemSelected(object sender, Telerik.XamarinForms.Input.AutoComplete.SuggestionItemSelectedEventArgs e)
      {
          MyUser = (e.DataItem as MyModel).User;
      }

If I use Focused for showing Suggestions everything works fine, but when I added TextChanged nothings works as shoud:

1) Suggestion menu is never shown from TextChanged event

2) When I select Item from Suggsetion menu, text on the control gets immediately deleted (Text changed is getting called again with empty NewTextValue)

3) When I remove usage for TextChanged  event misbehaviour is still there. I need to clean whole build/restart VS/emulator to get it running again.

 

How should I achieve this functionality? It should be simple, for me it's looks like a common scenario

 

 

 

Didi
Telerik team
 answered on 08 Jan 2024
1 answer
15 views

I need to differentiate between CellTap and CellDoubleTap commands.
I registered both commands:

 DataGrid.Commands.Add(new CellDoubleTapUserCommand());
 DataGrid.Commands.Add(new CellTapUserCommand());

But when I double tap cell, the CellTap command is also fired.
Is there any out of the box solution fo this?

Didi
Telerik team
 answered on 05 Jan 2024
1 answer
19 views

Hi,

I am trying to change cursor color and border when AutoCompleteView is in Focus. How to do this? I can't find any renderer for this control in Telerik.XamarinForms.InputRenderer Namespace

Didi
Telerik team
 answered on 21 Dec 2023
1 answer
21 views

Hello,

currently I'm experimenting with RadDataGrids and stumbled on the issue that the scrollbar on UWP is blocking the content (including the options button which is also not clickable because of it, screenshot is attached).

Looks like inputtransparent=true and cascadeinputtransparent=false on the scrollbar within the DataGrids is missing or something like that

Code Snippet (screenshot is attached):

<Grid Grid.Row="1">
	<Grid.ColumnDefinitions>
		<ColumnDefinition Width="Auto"/>
		<ColumnDefinition Width="*"/>
	</Grid.ColumnDefinitions>
	<Grid.RowDefinitions>
		<RowDefinition />
		<RowDefinition />
	</Grid.RowDefinitions>
	<dataGrid:RadDataGrid Grid.Column="0"  Grid.RowSpan="2"
				  ItemsSource="{Binding Resources}"
				  AutoGenerateColumns="True"
				  UserEditMode="Cell"
				  >
		
	</dataGrid:RadDataGrid>

	<Label Grid.Column="1" Grid.Row="0" Text="Placeholder for future adventures 🦄." BackgroundColor="PaleTurquoise"/>

	<dataGrid:RadDataGrid Grid.Column="1" 
				Grid.Row ="1"
				ItemsSource="{Binding Resources}"
				AutoGenerateColumns="True"
				UserEditMode="Cell"
				>
	</dataGrid:RadDataGrid>
</Grid>

Didi
Telerik team
 answered on 24 Nov 2023
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?