So I know this has been asked many times, I've read about 10 post with this issue. I've restarted Visual Studios and I'm still getting the error.
The Member IcoIcon is not recognized or accessible
Here is my code
public partial class Icomoon : UserControl
{
public static readonly DependencyProperty IcoIconProperty =
DependencyProperty.Register("IcoIcon", typeof(string), typeof(Icomoon), new PropertyMetadata(null));
public object IcoIcon
{
get => (string)GetValue(IcoIconProperty);
set => SetValue(IcoIconProperty, IcoMoonVariables.Invoke((string)value));
}
public Icomoon()
{
InitializeComponent();
}
}
So from what I can tell is I registered it properly, and it is showing up in the Intellisense when I type it out. But then it still gives me the error.
<UserControl:Icomoon IcoIcon="LineGraph" />
Am I overlooking a member's class names? I've been looking over this for some time so any sense of direction would be helpful. Suggestions appreciated