Skip to content
Discussion options

You must be logged in to vote

Hello, I am self-employed, you can do it this way

                    **.Children(
                        new ContentControl()
                            .Content(x => x.Binding(() => vm.IsEnabled).Convert(isEnabled =>
                            {
                                if (isEnabled)
                                    return new TextBox().Text("Habilitado");
                                else
                                    return new TextBox().Text("Desabilitado");
                            })),
                        new Button()
                            .Content("Go to Second Page")
                            .AutomationProperties(automationId: "SecondPageBut…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jor1196
Comment options

Answer selected by jor1196
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant