var objType = GetType()// will return "Page"
var objType = welcome.GetType()// will return the type for the object named 'welcome' e.g. "Button"if (welcome.GetType() == "Button"){ welcome.SetState(true)}