Can you PLEASE make your ribbon control and rich text edit control for Xamarin.Forms?
As iPadOS is becoming such a desktop OS, I feel a word processing component is such a necessity. Plus, macOS Support is there too! There's no reason why your desktop components shouldn't be available on Xamarin.Forms as Xamarin.Forms is supporting more and more desktop operating systems.
Add MVVM friendly commands for all list view interaction events: ItemTapped, ItemSwipeStarting, ItemSwiping, ItemSwipeCompleted, RefreshRequested
Please add a Step Line series type to RadCartesianchart.
As an example, see UI for ASP.NET AJAX's version here https://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/spline-and-step-line-chart/defaultcs.aspx
The chart's series are not detecting property changed notifications on items in the series.
Note:
Reproducible
If you have a data model where the properties are using INotifyPropertyChanged, for example from your NotifyPropertyChangedBase
public class Item : NotifyPropertyChangedBase
{
private DateTime date;
private int value;
public DateTime Date
{
get => date;
set => UpdateValue(ref date, value);
}
public int Value
{
get => value;
set => UpdateValue(ref this.value, value);
}
}
Here's a view model to use, invoke the command to observe the problem
public class MainViewModel : NotifyPropertyChangedBase
{
public MainViewModel()
{
var rand = new Random();
DataPoints = new ObservableCollection<Item>(Enumerable.Range(1,5).Select(i=>new Item
{
Date = DateTime.Today.AddDays(-i),
Value = rand.Next(1,10)
}));
ChangeDataCommand = new Command(() =>
{
foreach (var dataPoint in DataPoints)
{
dataPoint.Value = rand.Next(1, 20);
}
});
}
private ObservableCollection<Item> dataPoints;
public ObservableCollection<Item> DataPoints
{
get => dataPoints;
set => UpdateValue(ref dataPoints, value);
}
public Command ChangeDataCommand { get; set; }
}
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<telerikChart:RadCartesianChart x:Name="Chart">
<telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:DateTimeContinuousAxis LabelFormat="MM-dd"
LabelFitMode="Rotate" />
</telerikChart:RadCartesianChart.HorizontalAxis>
<telerikChart:RadCartesianChart.VerticalAxis>
<telerikChart:NumericalAxis Minimum="0" Maximum="10"/>
</telerikChart:RadCartesianChart.VerticalAxis>
<telerikChart:RadCartesianChart.Series>
<telerikChart:LineSeries ValueBinding="Value"
CategoryBinding="Date"
ItemsSource="{Binding DataPoints}" />
</telerikChart:RadCartesianChart.Series>
</telerikChart:RadCartesianChart>
<Button Text="Change Data"
Command="{Binding ChangeDataCommand}"
HorizontalOptions="Fill"
Margin="5"
Grid.Row="1"/>
</Grid>
A SweepAxis (aka SweepSeries) is a chart where where the data is plotted from Left-to-Right and when the Data reaches the end, then any new data will start from the left side again by overwriting the oldest data in the chart.
A good example of this in an application is Windows's PerfMon application.
Use the following code to reproduce the behavior described in the issue title:
<telerikInput:RadButton BorderThickness="10,0,0,0" BorderColor="Blue" Clicked="RadButton_Clicked"/>
private void RadButton_Clicked(object sender, EventArgs e)
{
RadButton btn = (RadButton)sender;
if (btn.BorderColor == Color.Blue)
{
btn.BackgroundColor = Color.Yellow;
btn.BorderColor = Color.Red;
}
else
{
btn.BorderColor = Color.Blue;
btn.BackgroundColor = Color.Cyan;
}
}
Both the BackgroundColor and BorderColor change without any changes to BorderThickness.
The RadButton's border disappears. Note that even if I programmatically set BorderThickness in the same click event, it is still not visible again.
This is reproducible using 2020.1.318 and minimum required dependencies on Android.
I want to easily create a nice looking profile page, news page, and etc by using a template just like what I can do using bootstrap script and css in html
Hi Telerik, In short, google is currently working on their Skia-based flutter.io crossplatform development tool. Why don't google copy their widget principles and market it for Xamarin.Forms? The fluter.io widgets have NO connection to the platforms own controls. And why should they? Google argue that this is no longer a requirement. Most price-winning apps have custom UI anyway. This platform tie, is the achilles-heal of Xamarin Forms. It is super difficult to keep the Xamarin.Forms framework robust and stable as the platforms underneath expand and change. Crack and crevices will form and as developers we are in a constant state of torment. I know. I've been working with Forms since it first came out. So. Telerik. Sever the tie to the platforms controls. Build a complete and standalone skia/flutter component set for Forms. Complete with support for XAML, Bindings, Animations, etc. Porting them to Tizen, Mac and other platforms should be "easy".
Maybe work with Frank A. Krueger https://twitter.com/praeclarum, to support RadGrid on Ooui platform. Or at least a more basic version of it!
Allow mouse interactivity with any shape - polygons as well as primitives like ovoids & simpler polygons (triangles, squares, stars ...).
Hi Team,
I implemented radcheckbox in my xamarin telerik application. In which i select checkbox and afterword i post some data through webAPI. After completion of posting data i got response from server and my app got crashed and show me following stack trace data,
at Telerik.XamarinForms.PrimitivesRenderer.iOS.CheckBoxRenderer.OnElementDetached (Telerik.XamarinForms.Primitives.RadCheckBox oldElement) [0x00025] in <f3723b4c1d3f406496717d69142c8f84>:0
at Telerik.XamarinForms.Common.iOS.IosRendererBase`2[S,T].Dispose (System.Boolean disposing) [0x0001f] in <81c15264f2164ef79a02e84ed79e8bfd>:0
at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0003f] in <612eab01c6f546df983c0637f996b4cd>:0
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in <612eab01c6f546df983c0637f996b4cd>:0
at Xamarin.Forms.Platform.iOS.VisualElementRenderer`1[TElement].Dispose (System.Boolean disposing) [0x00058] in <612eab01c6f546df983c0637f996b4cd>:0
at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/Foundation/NSObject2.cs:147
at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x0003e] in <612eab01c6f546df983c0637f996b4cd>:0
at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (System.Object sender, Xamarin.Forms.ElementEventArgs e) [0x0000f] in <612eab01c6f546df983c0637f996b4cd>:0
at Xamarin.Forms.Element.OnChildRemoved (Xamarin.Forms.Element child) [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:343
at Xamarin.Forms.VisualElement.OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:750
at Xamarin.Forms.Layout`1[T].OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in <4542de7f0f544d51b46d63bd15d5f6b5>:0
at Xamarin.Forms.Layout.OnInternalRemoved (Xamarin.Forms.View view) [0x00012] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:464
at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0002b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:427
at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0
at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0
at System.Collections.ObjectModel.ObservableCollection`1[T].RemoveItem (System.Int32 index) [0x00021] in <a1ab7fc4639d4d84af41d68234158b1c>:0
at System.Collections.ObjectModel.Collection`1[T].Remove (T item) [0x00027] in <939d99b14d934342858948926287beba>:0
at Xamarin.Forms.Layout.OnInternalAdded (Xamarin.Forms.View view) [0x0000b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:451
at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00078] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:443
at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <a1ab7fc4639d4d84af41d68234158b1c>:0
at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <a1ab7fc4639d4d84af41d68234158b1c>:0
My xaml code,
<telerikControls:RadCheckBox IsChecked="{Binding IsSelected, Mode=TwoWay}" HorizontalOptions="Center" VerticalOptions="Center" />
My model class code,
private bool _isSelected;
public bool IsSelected
{
get { return _isSelected; }
set
{
_isSelected = value;
}
}
Version information,
Xmarin form version : 4.1.0
Telerik UI version : 2019.2.802.1
iOS version 12.2
In the SearchViewSingleLineItems Telerik template, it places a RadListView in an auto-sized RowDefinition. As a result, this causes the RadListView not to appear on iOS. This should be a star-sized row as mentioned in this UI for Xamarin documentation.
Although unrelated to the issue, the deprecated RadAutoComplete is being used for the example. Please update it to use the new RadAutoCompleteView instead.
Please update this template (and any other search templates that might have the same issues), thank you.
I have upgraded my Xamarin.Forms to version 4.5 and installed the dependent AndroidX nuget packages. After upgrading UI for Xamarin to version 2020.1.318.1, I'm getting 3 errors below in my Xamarin Android project that seems to have to do with min SDK version when I try to build:
java/lang/String;Ljava/util/List;)[B : invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13)
com.android.dx.cf.code.SimException: ERROR in androidx.browser.customtabs.CustomTabsService$1.newSessionInternal:(Landroid/support/customtabs/ICustomTabsCallback;Landroid/app/PendingIntent;)Z: invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13)
com.android.dx.cf.code.SimException: ERROR in androidx.browser.trusted.ConnectionHolder.getServiceWrapper:()Lcom/google/common/util/concurrent/ListenableFuture;: invalid opcode ba - invokedynamic requires --min-sdk-version >= 26 (currently 13)
I'm targeting Android 9 and set the minimum supported SDK to 26. The error hasn't gone away.
I upgraded to latest Telerik to address a reference issue with AndroidX.RecyclerView but it seems that these new errors are showing up now.
Is there something I can do to resolve the error or do I just have to wait for the next Telerik UI for Xamarin release?
Since 2020.1.218 the NuGet package for UWP Apps doesn't work, it references files that are not found during build.
//
If you have a project that has a dependency on: Xamarin.AndroidX.RecyclerView
It will cause a Release build failure due to Telerik.XamarinForms.DataControls using the wrong type in the renderer (AndroidX's RecyclerView instead of v7.Widgets's RecyclerView).
Here is the build error clarifying that it cannot find a `HasStableIds` property/method:
Error Mono.Linker.MarkException: Error processing method: 'System.Void Telerik.XamarinForms.DataControlsRenderer.Android.ItemsControlRenderer::OnElementAttached(Telerik.XamarinForms.DataControls.ItemsControl)' in assembly: 'Telerik.XamarinForms.DataControls.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void AndroidX.RecyclerView.Widget.RecyclerView/Adapter::set_HasStableIds(System.Boolean)
You can use the attached project to reproduce the problem. Be sure to have the following settings:
Uninstall Xamarin.AndroidX.RecyclerView
Hello,
We are using Xamarin Forms and Telerik for iOS and Android.
We were asked several months ago to host our Xamarin Forms app on WPF.
Currently, SyncFusion is the only one to support WPF.
Will Telerik support WPF for Xamarin Forms someday ? Do you have any idea when ?
If you won't support it, I will be obliged to move to SyncFusion (WPF will be mandatory soon as we will migrate our WPF app on Xamarin : a merge of our products and our dev team)
We have both Telerik and SyncFusion. We decided to use Telerik for 95% of our controls (except the ListView where SyncFusion got more advanced features).
We prefer to stay on Telerik for as long as we can but won't have other choice to migrate to SyncFusion if Telerik will never provide WPF controls for Xamarin Forms.
Thanks a lot