Search found 3 matches

by maxnt
13 Feb 2025, 23:49
Forum: General Discussion
Replies: 2
Views: 2939

Re: Help setting focus to element in ItemsControl

I have found the solution, posting my findings for others :) ItemControls go through a few stages before its children can accept a focus. Turns out the OnItemsChanged changed event is purely a data change and is too early, the visual containers have not been built yet. A rough order of execution whe...
by maxnt
10 Feb 2025, 18:41
Forum: General Discussion
Replies: 2
Views: 2939

Help setting focus to element in ItemsControl

Hi Noesis fokes, I'm trying to set the default focus to the first element of an ItemControl, on load and if the items change. However, my below code doesn't work. element->Focus() and element->MoveFocus(request) return false. The end result is no items have focus. Please advise on what I'm doing wro...
by maxnt
20 Sep 2021, 13:56
Forum: General Discussion
Replies: 0
Views: 79648

UE4 UObject to Noesis Derrived Object Reflective copy

Thought I would drop this post to share a little knowledge that I thought might be useful to others. A big shout out to Sergio from the Noesis team for helping me! In UE4 using Noesis, this is my reflection approach for copying UProperties values from a bound UObject within the DataContext to a deri...