sumith sudesan

sumith sudesan

  • 1.8k
  • 108
  • 5.6k

create buttonrenderer to set font and border color

Jul 7 2017 3:15 PM

i create new buttonrenderer 'NewButtonRenderer' for 'NewButton'
- [assembly: ExportRenderer(typeof(NewButton), typeof(NewButtonRenderer ))]
- public class NewButtonRenderer : ButtonRenderer
- protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.Button> e)

i want to set background ,text color , border color, font style , font and width properties to new button 'NewButton' in android platform