Developer technologies | Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows devices.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As I can Enable button from another button using Switch case. the idea when the button is pressed2 disable the button 1
public void ColorButton()
{
Button btn = new Button();
switch(btn.Name)
{
case "BTMediaPurple":
BTMediaPurple.IsEnabled = true;
BTEllipsePurple.IsEnabled = false;
break;
}
}
A Microsoft platform for building and publishing apps for Windows devices.