How can i access members from one class in other class?
In what context? JavaScript or Uno?
If you are talking about Uno, it works just like Java and C#.
Consider this example:
public class Name
{
public string First;
private string Last;
}
public class Person
{
public Name Name;
public Person(Name name)
{
Name = name;
}
public void PrintName()
{
debug_log(Name.First);
// debug_log(Name.Last); <-- illegal since Name.Last is private
}
}
Since Uno is a C# dialect you can have a look at the C# documentation for members: https://msdn.microsoft.com/en-us/library/ms173113.aspx
Not about Uno, i’m trying to do this inside a State in a StateGroup. I want to access objects between two Panels with ux:Class but i can’t. I really don’t want to use ux:InnerClass. There is any other solution?
Why don’t you want to use ux:InnerClass / what happens when you do?