view.Content.FindName performance impact
Posted: 13 Dec 2023, 12:08
Hi Noesis Team,
I use a lot from FindName to get any element in XAML.
If I use over 50 or more of this code will I face any performance issues in my Unity project?
I use a lot from FindName to get any element in XAML.
If I use over 50 or more of this code will I face any performance issues in my Unity project?
Code: Select all
private TextBlock TextBlock1;
void Start
{
NoesisView view = GetComponent<NoesisView> ();
view.Content.DataContext = this;
TextBlock1 = view.Content.FindName (nameof (TextBlock1)) as TextBlock;
}