Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9208173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:33:35+00:00 2026-06-18T00:33:35+00:00

I am trying to follow this radiobutton tutorial I created a class called EnumMatchToBooleanConverter

  • 0

I am trying to follow this radiobutton tutorial

I created a class called EnumMatchToBooleanConverter and it is in the top level of my wpf project. It says to place the inside a window.resources like this:

<Window.Resources>
  <EnumMatchToBooleanConverter x:Key="enumConverter" />
</Window.Resources>

I am using it in a usercontrol so I have placed it inside a stackpanel instead:

<StackPanel.Resources>
  <EnumMatchToBooleanConverter x:Key="enumConverter" />
</StackPanel.Resources>

I have Microsoft Visual Studio Ultimate 2012 and it gives me an error:

EnumMatchToBooleanConverter is not supported in a Windows Presentation Foundation (WPF) project.

Any ideas as to what I am doing wrong? Am I not allowed to place it inside a stackpanel.resources?

I just tried placing it inside a grid.resources

<Grid.Resources>
  <EnumMatchToBooleanConverter x:Key="enumConverter" />
</Grid.Resources>

and it says

The type ‘EnumMatchToBooleanConverter’ was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Well it is in the same namespace as the rest of my project, so I’m unsure why it isn’t finding it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:33:37+00:00Added an answer on June 18, 2026 at 12:33 am

    Change

    <EnumMatchToBooleanConverter x:Key="enumConverter" />
    

    for

    <local:EnumMatchToBooleanConverter x:Key="enumConverter" />
    

    All non-built-in classes you reference in XAML must be prefixed by their corresponding xmlns prefix.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to follow this tutorial Walkthrough: Part 1 - Creating a Basic Project System
I'm trying to follow this tutorial: http://sqlcipher.net/ios-tutorial/ I create a database called sqlcipher.db then
I'm trying to follow this tutorial for an Accordion control in WPF: http://www.c-sharpcorner.com/UploadFile/dpatra/538/ I
I'm trying to follow this tutorial to create a proxy class for my WCF
I was trying to follow this tutorial on user settings: http://blogs.msdn.com/b/patrickdanino/archive/2008/07/23/user-settings-in-wpf.aspx I defined a
I'm trying to follow this tutorial using StructureMap : http://iridescence.no/post/Constructor-Injection-for-ASPNET-MVC-Action-Filters.aspx What I'm trying to
I'm trying to follow this tutorial on Seesaw Window Building . During the step
I am trying to follow this tutorial ( Using-core-plot-in-an-iphone-application ). When I try to
I am trying to follow this tutorial on how to connect to a database
Trying to follow this tutorial. Autotest fails with this error message: sg $autotest loading

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.