Telerik Forums
UI for Xamarin Forum
6 answers
300 views

I have RadListView which has default item template ListViewTextCell and LayoutDefinition of ListViewGridLayout.

In Android devices ListViewTextCell text are not vertically center align, but in iOS it is ok. It seems like even without using "Detail" section, ui rendere keeps space for that. ListViewLinearLayout also has same problem. i'll post xaml here...

<telerikDataControls:RadListView
                                                     ItemsSource="{Binding EventStatusList}" SelectedItem="{Binding SelectedEventStatus}"
                                                     SelectionMode="Single">
                        <telerikDataControls:RadListView.ItemTemplate>
                            <DataTemplate>
                                <telerikListView:ListViewTextCell Text="{Binding EventStatusDescription}"/>
                            </DataTemplate>
                        </telerikDataControls:RadListView.ItemTemplate>
                        <telerikDataControls:RadListView.LayoutDefinition>
                            <telerikListView:ListViewGridLayout HorizontalItemSpacing="2" VerticalItemSpacing="2" SpanCount="3"/>
                        </telerikDataControls:RadListView.LayoutDefinition>
                        <telerikDataControls:RadListView.ItemStyle>
                            <telerikListView:ListViewItemStyle BackgroundColor="{StaticResource BrandColorDarker}" 
                                                               BorderWidth="0"    TextCellTextColor="White"
                                                               BorderLocation="None"
                                                               BorderColor="Transparent"/>
                        </telerikDataControls:RadListView.ItemStyle>
                        <telerikDataControls:RadListView.SelectedItemStyle>
                            <telerikListView:ListViewItemStyle TextCellTextColor="{StaticResource BrandColor}"
                                                               BackgroundColor="White"
                                                               BorderColor="Transparent" BorderWidth="0"
                                                               BorderLocation="None"/>
                        </telerikDataControls:RadListView.SelectedItemStyle>
                        <telerikDataControls:RadListView.PressedItemStyle>
                            <telerikListView:ListViewItemStyle TextCellTextColor="{StaticResource BrandColor}"
                                                               BorderColor="White" BorderWidth="5" BorderLocation="All"/>
                        </telerikDataControls:RadListView.PressedItemStyle>
                    </telerikDataControls:RadListView>

 

I can not find a way to attach images to this thread. how to remove extra space under text in Android ?

Lance | Senior Manager Technical Support
Telerik team
 answered on 24 May 2018
3 answers
155 views
How can I add different barseries on a same Cartesian axis I am using the below code with data of keyvaluepair but the series was overlapping .I want the series one after another in the same axis.can you please help me.
Lance | Senior Manager Technical Support
Telerik team
 answered on 23 May 2018
7 answers
202 views

Is it possible for 100% similar look n feel (horizontal colourful dots, selected circle, left-right scroll transition etc) for both iOS and Android Calendar UI when using with Xamarin Forms Shared Project.

Currently iOS has look n feel as (horizontal colourful dots, selected circle, left-right scroll transition etc) but Android has different along with top-bottom scrolling.

Can we achieve same look n feel for Android also as in iOS already?

 

Dev
Top achievements
Rank 1
 answered on 22 May 2018
4 answers
247 views

I started using RadTreeView, so I added XAML reference and tree to page, and corresponding collection in viewmodel.

After add Item to collection I got exception as below:

05-22 14:54:25.831 E/mono-rt ( 4107): [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.  
at Telerik.XamarinForms.DataControls.RadTreeView.UpdateParentItemOnAddRemove
  
at Telerik.XamarinForms.DataControlsRenderer.Android.TreeViewRenderer.LayoutItemAdded

at Telerik.XamarinForms.DataControls.TreeView.TreeViewLayout.RaiseLayoutItemAdded
  
at Telerik.XamarinForms.DataControls.TreeView.TreeViewLayout.AddItem
 
at Telerik.XamarinForms.DataControls.TreeView.TreeViewLayout.OnCollectionChanged

at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged
Lance | Senior Manager Technical Support
Telerik team
 answered on 22 May 2018
1 answer
264 views

Is there any way to set a keyboard type when using a Masked Input field? We are making use of it for some numeric-only fields, however I can't find any way to make the keyboard default to a numerical keyboard.

 

Even the example project has phone number input using the default text keyboard. Is there no way to set which keyboard type to use?

Stefan Nenchev
Telerik team
 answered on 22 May 2018
1 answer
246 views

Hello.

I'm working on Telerik charts using RadCartesianChartView control. I'm using LineSeries to draw lines in it.

How can I draw dotted line by LineSeries? Should I use custom Palette for this?

Could you provide an example of using such Palette?

Stefan Nenchev
Telerik team
 answered on 22 May 2018
4 answers
137 views

I was wondering, if there is a property I can bind to get the selected item.

I use the slice option and would like to fill the SideDrawers content according to the selected item.

<chart:RadPieChart.Behaviors>
    <chart:ChartSelectionBehavior DataPointSelectionMode="Single"
                                  SeriesSelectionMode="None" />
</chart:RadPieChart.Behaviors>

 

I know there is a SelectionChanged somethere, I was just wondering, if there is a property I can bind to instead.

 

 

 

Jannik

Petar Marchev
Telerik team
 answered on 22 May 2018
1 answer
180 views

hi,

how can you capture the firing of the radlistview events e.g. ReorderEnded within a mvvm framework?

a code example showing this would be useful, without any code-behind bing used.

so, how is the event specified in the view (xaml) and how is it wired up in the viewmodel?

thanks.

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 May 2018
1 answer
114 views

Good Day All 

i would like to know a few things about the DataForm Control. i am not a fan of Wizards that will automatically update data in my database , i would like to do that myself in a custom Datalayer. 

I like the part that the control is able to generate a clean UI from a Model which i like ,

 

1 ) My first question is that since the UI is generated from the model, can i have values that have been captured by the user programmatically from the DataForm.

2) Can i have Buttons Embedded into it and have click events of those buttons outside indipendently

Thanks 

 

 

 

 

Vuyiswa
Top achievements
Rank 2
 answered on 19 May 2018
5 answers
124 views
Hello!

I want to limit the days displayed on each month of the month view of the calendar, currently it is showing 6 rows with the last row showing the days from the next month. How can I limit the rows displayed to 5? Is that possible?

Dev
Top achievements
Rank 1
 answered on 18 May 2018
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?