mgagne002
Topic Author
Posts: 2
Joined: 06 Dec 2022, 17:34

Unity flagging a named UIElement as not existing

14 Dec 2022, 17:38

Unfortunately, I won't be able to show exact code for this, but it's pretty simple to describe.

I have a Combobox that is named. It looks similar to this:
<ComboBox x:Name="AwesomeDropdown" Grid.Row="16"> </ComboBox>
I am then setting the ItemsSource of that ComboBox in CodeBehind. The issue is that Unity is throwing "The name "AwesomeDropdown" does not exist in the current context."

This is in a View and I already have several toggles working with associated properties. Any idea on how to solve this issue?
 
mgagne002
Topic Author
Posts: 2
Joined: 06 Dec 2022, 17:34

Re: Unity flagging a named UIElement as not existing

14 Dec 2022, 18:52

Y'all can delete this or marked it as solved. I figured it out. Thanks.
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: Unity flagging a named UIElement as not existing

16 Dec 2022, 18:21

Ok, marking this as solved.

Who is online

Users browsing this forum: No registered users and 6 guests