© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
8 replies
eduardoA

Microsoft MVVM toolkit

I have a very simple question

I have two entries and a button

<inputLayout:SfTextInputLayout
    ContainerBackground="White"
    ContainerType="Outlined"
    Hint="Email"
    IsHintAlwaysFloated="True"
    OutlineCornerRadius="8">
    <Entry />
</inputLayout:SfTextInputLayout>

<inputLayout:SfTextInputLayout
    Grid.Row="1"
    ContainerBackground="White"
    ContainerType="Outlined"
    Hint="Password"
    IsHintAlwaysFloated="True"
    OutlineCornerRadius="8">
    <Entry />
</inputLayout:SfTextInputLayout>

this is the command I am executing
<inputLayout:SfTextInputLayout
    ContainerBackground="White"
    ContainerType="Outlined"
    Hint="Email"
    IsHintAlwaysFloated="True"
    OutlineCornerRadius="8">
    <Entry />
</inputLayout:SfTextInputLayout>

<inputLayout:SfTextInputLayout
    Grid.Row="1"
    ContainerBackground="White"
    ContainerType="Outlined"
    Hint="Password"
    IsHintAlwaysFloated="True"
    OutlineCornerRadius="8">
    <Entry />
</inputLayout:SfTextInputLayout>

this is the command I am executing

[RelayCommand]
async Task Register() {
IsPopOpen = false;

//await dataService.AddAsync("Users", Student);
}
```

what I want to do is enable the button only if the email and password are entered
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

MVVM TOOLKIT SetProtperty
C#CC# / help
3y ago
MVVM Toolkit Messenger - RequestMessage
C#CC# / help
16mo ago
MVVM w/ Toolkit | Observing Child Properties
C#CC# / help
2y ago
MVVM toolkit receive method of messaging service
C#CC# / help
2y ago