Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Image to Radio Button #107

Closed
prasad2694 opened this issue Mar 28, 2019 · 1 comment
Closed

Adding Image to Radio Button #107

prasad2694 opened this issue Mar 28, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested target-xamarin

Comments

@prasad2694
Copy link

can i add a image to radio button of selecterview, i am trying to make a radio button for gender and i need to show image of male and female on radio button

@enisn
Copy link
Owner

enisn commented Mar 28, 2019

@prasad2694
It's not possible for now with SelectionView. Also customization requeset almost same with #94


But you can generate two radiobutton manually with following XAML code:

<controls:RadioButtonGroupView SelectedIndex="{Binding SelectedGenderIndex}">
	<controls:RadioButton Text="Female" CheckedImage="your_female_image.png" />
	<controls:RadioButton Text="Male" CheckedImage="your_male_image.png"/>
</controls:RadioButtonGroupView>

@enisn enisn added enhancement New feature or request question Further information is requested labels Mar 28, 2019
@enisn enisn self-assigned this Mar 28, 2019
@enisn enisn closed this as completed Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested target-xamarin
Projects
None yet
Development

No branches or pull requests

2 participants