I'm using c# to develop a small UWP app for Windows IoT that is installed on Raspberry pi 3. However, I want to this:
button.Visibility = Visibility.Visible;
button1.Visibility = Visibility.Collpsed;
That code I want to keep it inside a static method :). I haven't found any helpful answer yet. I hope you guys will give me an easy and quick solution.
If you want to make that static you'll have to pass in the buttons