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

Switch inside ListView #27

Open
acaliaro opened this issue Jun 10, 2019 · 2 comments
Open

Switch inside ListView #27

acaliaro opened this issue Jun 10, 2019 · 2 comments

Comments

@acaliaro
Copy link

Hi @davidbritch
I have a Switch inside a ListView.

I would like to use EventHandlerBehavior with Toggled event, but I think I miss something:

                    <Switch Grid.Row="2"
                        Grid.Column="1"
                        WidthRequest="100"
                        HorizontalOptions="End"
                        VerticalOptions="End"                               
                        OnColor="{StaticResource Prada.ButtonForeground}"
                        IsToggled="{Binding IsOk, Mode=TwoWay}" >
                        <Switch.Behaviors>
                            <behaviors:EventHandlerBehavior EventName="Toggled">
                                <behaviors:InvokeCommandAction Command="{Binding ToggledCommand}"/>
                            </behaviors:EventHandlerBehavior>
                        </Switch.Behaviors>
                    </Switch>

can you help me?
Thanks

@acaliaro
Copy link
Author

@davidbritch hello. Can you give me an help about this?
Thanks
Alessandro

@acaliaro
Copy link
Author

@davidbritch I have the same problem with checkbox in XF4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant