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

[Improvement] Remove the need for TapGestureRecognizer on the SwitchView #9

Open
IeuanWalker opened this issue Apr 11, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@IeuanWalker
Copy link
Owner

Currently any control built from the SwitchView needs to add a TapGestureRecognizer to toggle the IsToggled property.

void TapGestureRecognizer_Tapped(object sender, EventArgs e)
{
	IsToggled = !IsToggled;
}

If we can move this logic to the control it self, its just one less thing for people to do

@IeuanWalker IeuanWalker added enhancement New feature or request help wanted Extra attention is needed labels Apr 11, 2023
@IeuanWalker IeuanWalker changed the title Remove the need for TapGestureRecognizer on the SwitchView [IMPROVEMENT] Remove the need for TapGestureRecognizer on the SwitchView Apr 11, 2023
@IeuanWalker IeuanWalker changed the title [IMPROVEMENT] Remove the need for TapGestureRecognizer on the SwitchView [Improvement] Remove the need for TapGestureRecognizer on the SwitchView Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant