sumith sudesan

sumith sudesan

  • 1.9k
  • 119
  • 7.8k

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