Calling methods in your View from your ViewModel using Action-Invokes

In Xamarin Forms, if you bind ViewModel Commands to Page Buttons, all of the logic from the button click action takes place in the ViewModel. The problem is that the ViewModel doesn’t have access to the Xamarin Forms controls, and so it’s difficult to access functions of Views from your ViewModel. Delegates are not commonly…

--

--

--

Developers building things, on here to share knowledge. Featured blog for PlanetXamarin.com github.com/saamerm linkedin.com/in/saamer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Tips for Programming in Ruby

NETCONF Device Simulator & Monitoring | PANTHEON.tech

You Need a Better Terminal Setup

Integrate Shopify into your Strapi Website

Collaborative Editing in the Gutenberg Block Editor

A Product Manager’s First Solo App

DeHive Integrates Binance Smart Chain and Starts the BSC Era🥳🚀

bcs, binance chain, binance smart chain, binance, pancakeswap, listing, bsc listing, binance listing

Starting All Over — The best way to approach your programming Journey

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
The First Prototype

The First Prototype

Developers building things, on here to share knowledge. Featured blog for PlanetXamarin.com github.com/saamerm linkedin.com/in/saamer

More from Medium

C# How to make WPF TextBox accept only numeric inputs?

Visual Studio 2022 Browser Edge with Your Profile

Coding a simple Csv Reader in C# and Blazor

Debugging 101 in Visual Studio 2022