Search found 2 matches

by pingping
23 Jun 2021, 16:08
Forum: General Discussion
Replies: 2
Views: 10992

Re: Accessing List of reflected properties added with NSProp

Ok, What I was doing was correct. GetClassType() is indeed giving properties that are added with NsProp. My mistake was calling TypeClass::GetProperty(uint32_t index) with Noesis::Symbol. Since it is not explicit method it was accepting the parameter. I should be calling TypeClass::FindProperty(Symb...
by pingping
23 Jun 2021, 15:36
Forum: General Discussion
Replies: 2
Views: 10992

Accessing List of reflected properties added with NSProp

Hello, I am trying to write a generic behavior and I would need to go trough in reflected properties of ViewModel of attached control. NS_IMPLEMENT_REFLECTION(PersonViewModel) { NSProp("Name", &PersonViewModel::GetName); NSProp("Age", &PersonViewModel::GetAge); } In this example, how can I get "Name...