Join James Timberlake for an in-depth discussion in this video Create a command, part of Extending Xamarin with Behaviors, Commands, and Triggers.
- [Instructor] Okay, let's get started…with creating your first command.…What I'd like to do is alert our view…whenever an individual to-do item is selected.…Let's go ahead and get started with that.…I'm going to go into our to-do list page…and we're going to remove this image here.…We don't want that.…Let's add a button.…And let's give it the text of Done.…To make sure you're showing in the correct place,…we're going to do horizontal options as End.…
And that should be it.…Then let's run to make sure it's showing correctly.…It should show before the name and date.…Now let's see it in action.…We just want to make sure the Done button is there,…and it is,…but it's not doing anything.…Let's add some functionality to it.…I'm going to go back into our studio…and stop our simulation.…I'm going to go into our to-do list view model,…then I'm going to add a new ICommand interface.…So public ICommand,…and let's just call it ToggleTodoItem.…
And we're going to set that somewhere else.…We're going to go to our to-do list page controller…
- Creating and implementing behaviors
- Stacking behaviors
- Adding behaviors to styles
- Creating commands
- Setting up and implementing triggers
- Tying it all together in a Xamarin app
Skill Level Intermediate
F# and Xamarin Development Basicswith Rachel Blasucci56m 43s Intermediate
1. Using Xamarin Behaviors
2. Using Xamarin Commands
3. Using Xamarin Triggers
4. Tying It All Together
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.