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

Xamarin iOS Cannot access a disposed object, Object name: ''

I am working with xamarin forms project and I have a bug on xamarin iOS project. Currently I implemented functionality of Master-Detail Page and also I added button item on action bar. Problem is when I am running application from my MainPage I am…
BinaryTie
  • 281
  • 1
  • 21
  • 49
0
votes
2 answers

Xamarin Custom ButtonRenderer Text under Image

I am trying to place Label under the image inside a button and center it. I have a custom renderer for the button but for some reason I can not produce the desired output. The code is in C# Xamarin. XAML Code:
nishantvodoo
  • 835
  • 3
  • 17
  • 32
0
votes
2 answers

Custom Tabbed Page Renderer Xamarin Android

So know how to set up a custom renderer (only partially apparently) with an OnElementChanged method. I followed this (http://forums.xamarin.com/discussion/17654/tabbedpage-icons-not-visible-android) protected override void…
0
votes
1 answer

Xamarin Forms (iOS) - Change Transparency of Keyboard Background

I have a Xamarin Forms project, where I've created a custom renderer for a Picker and Entry (both of which bring up a keyboard when focused). I want to customize a couple things about the keyboard. You can see that the background of a keyboard (in a…
jbyrd
  • 5,287
  • 7
  • 52
  • 86
0
votes
1 answer

Xamarin Forms WinRT Entry Custom Renderer

I am trying to have make the Entry select all text when it is focused. I have a custom renderer for doing so on Android, but would like it to work on Windows 8 as well. How can I create a custom render for Windows in Xamarin Forms? Here is what I…
0
votes
1 answer

Show / Hide checkbox in Xamarin Forms

I am trying to figure out a way to make checkbox appear on button click on a page. It's invisible by default, because I've set checkBox.Visibility = Android.Views.ViewStates.Invisible; in my custom renderer. I have a button in the page content and a…
0
votes
2 answers

Custom ViewCell after xamarin forms 2.0 upgrade renders the Entries with a 1 pixel height

I've provided a link to a fairly simple, drilled down version of our app. What you will see in it is that I've a simple Forms app consisting of 2 pages. My first page just has a button to navigate to a second page. My Second page has a TableView…
Supreet
  • 831
  • 1
  • 9
  • 30
0
votes
1 answer

PrimeFaces custom renderer not used on Ajax update

Im trying to write a PrimeFaces paginator to be more compliant with WCAG rules. Originaly page links (1 2 3 4 5) are not links, but with plain page number. I wrapped that number with '' so they can be focused and title explaining what this…
T.G
  • 1,913
  • 1
  • 16
  • 29
0
votes
2 answers

Xamarin.Forms: SearchBar font size on windows phone

I have a problem with styling the SearchBar for Windows phone. The font size is just unbearably huge and there is not property I can set directly. I've read a bit upon custom renederers (though I believe that's just overkill if I jsut wanted to set…
Paradox Code
  • 148
  • 2
  • 14
0
votes
1 answer

Custom Renderer - Add HTML tags

I've read a lot of posts about custom renderers, but I can't seem to find, what I am looking for. It is, again, about the combobox. XPages renders the combobox in read mode as a table and the custom renderers I've found, help to write out just the…
Daniel F
  • 134
  • 7
0
votes
1 answer

How to construct and invoke JSF component render from custom renderer

I am implementing custom JSF component renderer (namely org.primefaces.component.messages.MessageRenderer) and would like to add output new dialog to be opened when user clicks on messages. I understand that I can just add all needed HTML / CSS /…
Meta
  • 425
  • 7
  • 20
0
votes
1 answer

Changed HTML Markup of Custom Components upon Ajax Render

I have a custom component that extends HtmlInputText + custom renderer to write Twitter Bootstrap html markup. for example: it…
0
votes
2 answers

How to register a custom renderer in JSF?

We have numerical values in our database, representing a two-value-state. Of course this would perfectly match a boolean, but oracle has no such datatype. The NUMBER(1,0) type from the database is matched to a java.lang.Short type in Java (sometimes…
bl4ckb0l7
  • 3,839
  • 4
  • 28
  • 33
0
votes
2 answers

Android TableView Header

I'm looking to create a custom renderer to style the TableView Headers on Android devices. Right now it is defaulted to the black background and blue text. How can I reference the header inside the custom renderer? Thanks
DarthVadar123451
  • 619
  • 1
  • 6
  • 14
0
votes
0 answers

How can I add attributes to components which don't have their own renderers using the f:attribute component?

I want to write a custom renderer for the h:selectOneMenu component and eventually make use of the description property of the UISelectItem class to add a title a.k.a. tooltip to f:selectItems following BalusC's profound guides in…
user3280015
  • 279
  • 2
  • 10
1 2 3
28
29