Questions tagged [custom-renderer]

Custom Renderers let developers 'override' the default native rendering behaviour in Xamarin.Forms.

From the docs:

Xamarin.Forms user interfaces are rendered using the native controls of the target platform, allowing Xamarin.Forms applications to retain the appropriate look and feel for each platform. Custom Renderers let developers 'override' this process to customize their Xamarin.Forms code on each platform.

427 questions
0
votes
1 answer

BeforeTextChanged event doesn't return the text about to be entered in custom Entry Renderer

I've a custom Entry Renderer in Android and I've implemented BeforeTextChanged event so that I get the text which is gonna be entered, but it doesn't return that text. I've implemented in two different ways: First implementing ITextWatcher by the…
VahidShir
  • 2,066
  • 2
  • 17
  • 27
0
votes
1 answer

progress bar tint color in xamarin forms

is there any way to change the default tint color using progress bar in xamarin forms . if not how would I create a droid custom renderer for this. the picture shows a slider but what I am looking for is something similar in a progress bar .
0
votes
1 answer

Custom Geo location on xamarin forms

Is there anyway to customize the geolocator to show the custom co-ordinate we are given, using customrenderer or anything. Whenever geolocation button clicked it should move to the custom co-ordinate and zoom level we given. Thanks
0
votes
1 answer

NavigationPage rendere for android. Xamarin Forms

I am trying to access the actionbar from a custom renderer(i know i can use the toolbar.xml but it's not fitting my situation). Here is my code [assembly: ExportRenderer(typeof(NavigationPage), typeof(NoviNavigationPageRenderer))] namespace…
0
votes
1 answer

How to migrate a clickable Frame with ripple touch to Xamarin.Forms 2.5?

I have implemented a clickable Frame in Xamarin.Forms 2.3.4 with a custom FrameRenderer that set Clickable (and LongPressable FWIW) to true, subscribed the respective events and set the FrameRenderers foreground TypedValue typedValue = new…
0
votes
2 answers

Xamarin.Forms UWP - Display HTML in a Label

In Xamarin.Forms, how do I display HTML in a label? In other words, if I have new Label { Text = "some text and some bold text" }, I want it to display as "some text and some bold text". I know I need to use a custom renderer, and I've…
jbyrd
  • 5,287
  • 7
  • 52
  • 86
0
votes
1 answer

Could I Intercept Exit FullScreen event from octane.xam.VideoPlayer plugin (XAMARIN FORMS)?

My application works portait, ma i want fullscreen video playback even in landscape mode using the plugin mentionend above. For this purpose I create a customrenderer to take access to native AVPlayerViewController Ios Control. I tried in many many…
0
votes
0 answers

Frame border disappears from ViewCell while listview scroll up and down in Xamarin form android

I have set list border using trigger according to my requirement but when I scroll up the listview and selected view cell is gone than I scroll down when ViewCell is appearing on screen than selected border is gone To prevent this I also created…
0
votes
1 answer

Non scrollable listview in xamarin.forms

Is there any way I can adjust listview's height as of it's content height in xamarin.forms? I could successfully do it for ios but for android, I applied a solution that leads to slow layout rendering. code public class CustomListViewRenderer :…
0
votes
1 answer

Xamarin Forms native customrenderer

I have followed James Montemagno's guide on how to make a custom renderer for round images in my Xamarin Forms Shared Project. https://blog.xamarin.com/elegant-circle-images-in-xamarin-forms/ (being a true copy of the guide it feels redundant to…
0
votes
0 answers

Context action on List view for multiple colors

Previously I needed to modify the context action color on the list view and that is working with the use of a custom renderer, var cell = base.GetCell(item, reusableCell, tv); CGRect rect = new CGRect(0, 0, 1, 1); CGSize size =…
Riyas
  • 475
  • 1
  • 8
  • 27
0
votes
0 answers

ListView items disappearing on touch or click on custom webview

I am creating an UWP app through Xamarin PCL. In my page I have a listview and a native uwp webview(which is rendered through custom renderer) inside another stack layout. My problem is:- When I am running the app in windows laptop which is having…
0
votes
0 answers

Using iOS system icons in a NavigationPage with a TabbedPage

I'm using a custom renderer to use iOS system icons in the navigation bar. It works fine, except that if the page is a TabbedPage, only the navigation icons for the default tab's page get their system icons. On other tabs, the system icons don't…
Edward Brey
  • 40,302
  • 20
  • 199
  • 253
0
votes
1 answer

Xamarin form - How to customize picket control

I am using latest xamarin build 4.5 and trying to apply picker control with following facilities.. Binding option- I could not see ItemsSource property in latest xamarin release. I have used following code to bind picker control in c# _pcPicker =…
paul sim
  • 463
  • 2
  • 10
  • 23
0
votes
1 answer

Add Nav buttons on left hand side of Navigation bar

I have a Xamarin page with a Navigation bar at the top. I keep changing the views on the page with some button clicks, but the page remains the same. What I need is, when I load a new view (say View A) on this page, I want to add a Back button on…
Marcus25
  • 863
  • 1
  • 15
  • 31