Open Ali-YousefiTelori opened 5 years ago
We don't generally debug custom renderers. Instead, please tell us what deficiencies exist in our first class renderers and we'll open a feature request so that everyone might make use of the functionality.
@kingces95 I don't undrestand what you said, there is a bug, I cannot convert my custom border to native control, this code is not working when I want to customize my border class to a nativeborder and set content as normal content, this code work when my border hasn't body:
not work:
//this line show me error 'Value does not fall within the expected range'
SetNativeControl(new Windows.UI.Xaml.Controls.Border() { Child = render });
works but no body generated for border (always empty border):
SetNativeControl(new Windows.UI.Xaml.Controls.Border());
Hi, When I want to SetNativeControl in uwp renderer i get error 'Value does not fall within the expected range' I don't know what is wrong here.
this is a border with thickness radius and after i custom my native border in renderer i want to set child of xamarin contentview renderer to my native border renderer
Example:
portable class:
uwp renderer class: