I do this
DrawerLength = 400;
But it looks good on LENOVA YOGOTablet but rubbish on a nexus 9(too thin)
is there anyway to make it scale with the screen type (not just size)?
When I try to link the SDK assemblies only the following linker error is displayed
Error:
SeverityCodeDescriptionProjectFileLineSuppression State
ErrorThe "LinkAssemblies" task failed unexpectedly.
Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.DataVisualization.Gauges.GaugeShapeIndicator::ShapeChanged(Telerik.XamarinForms.DataVisualization.Gauges.GaugeShapeIndicator,Telerik.XamarinForms.Common.RadPathGeometry,Telerik.XamarinForms.Common.RadPathGeometry)' in assembly: 'Telerik.XamarinForms.DataVisualization.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Collections.Generic.List`1<Telerik.XamarinForms.Common.Paintables.PathInstruction> Telerik.XamarinForms.Common.PathInstructionConverter::Convert(Telerik.XamarinForms.Common.RadPathGeometry)
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()App.DroidC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets1577
Any help on this would be a great help.
John
When i'm define background color for list item and trying to select, gray selection didn't show up
But if i don't define background color and trying to swipe, then always shows up both labels from ItemSwipeContentTemplate. I need two labels on swipe (left-to-right) "delete" and (right-to-left) "edit".
How can I solve this?
Hello iam trying out your ui controls,
i seem have to run into a little issue when i put any telerik object in xaml designer everything seems to be fine.Once i try to reference the xaml object in c# code through intellisense the telerik object name wont show up in the list.However i can still call the object in c# for example telerikObj.Axis; it says telerikObj doesnt exists in the context but if i compile with errors and run the program it works as expected.There is one error that i cant seem to get rid of either inside the StartPage.xaml.cs file it says InitializeComponent(); doesnt exists in the context as well.Everything runs fine but seems to have these issues.What did i do wrong?Thanks
I want to format the monthview day template as below. Can we edit the content template of the day cell? Or any other way to achieve this?
I snagged the sample sideDrawer from the github repo with all the xamarin.forms samples for telerik and have been able to get the sideDrawer working pretty nicely in Android (physical device + vysor) but when I try and run my app in iOS I get the following error:
Unhandled Exception:
Xamarin.Forms.Xaml.XamlParseException: Position 158:38. Type telerikListView:ListViewItemStyle not found in xmlns clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls
heres were i snagged the code:
https://github.com/telerik/telerik-xamarin-forms-samples/tree/master/QSF
The QSF folders...
I have two collections of int/datetime which I want to stack in an area diagram. Therefore I am using Combinemode="Stack" in my area series and on iOS this works very nice. The chart is in a tabview tab. Loading the screen is ok but the moment I click on the tab that contains the chart I get :
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
at Telerik.UI.Xaml.Controls.Chart.AreaRenderer.GetBottomPoints(AreaRenderContext context)
at Telerik.UI.Xaml.Controls.Chart.AreaRendererBase.AddBottomPoints(AreaRenderContext context)
at Telerik.UI.Xaml.Controls.Chart.AreaRendererBase.RenderCore()
at Telerik.UI.Xaml.Controls.Chart.C
The tab that contains my char looks like this:
<primitives:TabViewItem HeaderText="Traffic" IsSelected="{Binding Tabs[2], Mode=TwoWay}">
<primitives:TabViewItem.Content>
<StackLayout Orientation="Vertical">
<telerikChart:RadCartesianChart SelectionPaletteName="Light" x:Name="chart" VerticalOptions="FillAndExpand">
<telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:DateTimeContinuousAxis LabelFormat="dd" GapLength="0.3" PlotMode="OnTicks" MajorStepUnit="Day" MajorStep="1" />
</telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:RadCartesianChart.VerticalAxis>
<telerikChart:NumericalAxis Minimum="0"/>
</telerikChart:RadCartesianChart.VerticalAxis>
<telerikChart:RadCartesianChart.Series>
<telerikChart:AreaSeries ItemsSource="{Binding CowsMilked}" DisplayName="Milked" CombineMode="Stack" Fill="LightCoral">
<telerikChart:AreaSeries.ValueBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
</telerikChart:AreaSeries.ValueBinding>
<telerikChart:AreaSeries.CategoryBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Date"/>
</telerikChart:AreaSeries.CategoryBinding>
</telerikChart:AreaSeries>
<telerikChart:AreaSeries ItemsSource="{Binding CowsRejected}" DisplayName="Rejected" CombineMode="Stack" Fill="LightSkyBlue">
<telerikChart:AreaSeries.ValueBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
</telerikChart:AreaSeries.ValueBinding>
<telerikChart:AreaSeries.CategoryBinding>
<telerikChart:PropertyNameDataPointBinding PropertyName="Date"/>
</telerikChart:AreaSeries.CategoryBinding>
</telerikChart:AreaSeries>
</telerikChart:RadCartesianChart.Series>
</telerikChart:RadCartesianChart>
<telerikChart:RadLegend LegendProvider="{x:Reference Name=chart}"
LegendItemFontColor="Accent"
HeightRequest="60"/>
</StackLayout>
</primitives:TabViewItem.Content>
</primitives:TabViewItem>
I am binding to a List of DateTimeModels
public class DateTimeModel
{
public DateTime Date { get; set; }
public int Value { get; set; }
}
See also this thread: https://www.telerik.com/forums/stacked-area-series-on-android-gives-weird-result
iOS app (writted in Xamarin Froms) crashes on removing elements from RadListView at 2017.3.1018.240.
It's not easily to reproduce the issue, but with my use case, it's reproducible from time-to-time.
The use case is i.e.:
- RadListView with a few element at list - i.e. 20 elements
- swipe feature, in order to invoke *delete business object* code, which is:
---> invoking API to delete given object (in background)
---> then it's invoking API to get all elements again (let say 19 elements), and once list of elements are retrieved from API, refresh RadListView ItemSource
The use case, when it's highly reproducible, is to invoke *delete business object* code, for at least *TWO* elements at **RadListView** - first of all, for the first one (API request is being invoked), and in parallel of this invoke, invoke *delete busines object* for the second element at list. After that the app crashes.
I've collected two similar crashes, one directly related to **Telerik** source code (TelerikUI_TKListView_ReloadItems_Foundation_NSIndexPath, , but most probably the second one is also related to Telerik.
Crashes collected from device:
1. https://pastebin.com/F9yW8Yma
2. https://pastebin.com/4721ChhU