Get Type of Widget?

how can i get the type of a widget? when iterating through a list of widgets, i need to know if its a button, textblock etc.

all my widgets have a type prefix in their name, so i could use GetDisplayName. but i wonder if there is a better way, that doesnt rely on the name.

1 Like

You can use Get class and then get display name of that class. It will return the same name across widgets which share the same class type.

1 Like

cool. thanks.

1 Like

Thanks a lot !!!