Unity flagging a named UIElement as not existing
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:
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?
I have a Combobox that is named. It looks similar to this:
Code: Select all
<ComboBox x:Name="AwesomeDropdown" Grid.Row="16"> </ComboBox>This is in a View and I already have several toggles working with associated properties. Any idea on how to solve this issue?
Re: Unity flagging a named UIElement as not existing
Y'all can delete this or marked it as solved. I figured it out. Thanks.
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: Unity flagging a named UIElement as not existing
Ok, marking this as solved.
Who is online
Users browsing this forum: No registered users and 6 guests