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 ?
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?
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
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?
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?
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
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.
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