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

  • Home
  • SEARCH
  • 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 8677141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:22:47+00:00 2026-06-12T20:22:47+00:00

I have a class call BinaryImageConverter implement IValueConverter in Common.Tools . How can I

  • 0

I have a class call BinaryImageConverter implement IValueConverter in Common.Tools.

How can I call it in WPF?

 <Window.Resources>
        <CollectionViewSource x:Key="ProductsSource"/>
        <local:BinaryImageConverter x:Key="ImgConverter" />
    </Window.Resources>

Thank you.

  • 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-12T20:22:48+00:00Added an answer on June 12, 2026 at 8:22 pm

    You have to add prefix definition to the Window. For example if, the namespace of BinaryImageConverter is KevNameSapce and its assembly is KevAssembly then your xmal code would looks similar to below.

    <Window xmlns:local="clr-namespace:KevNameSapce;assembly=KevAssembly">
        <Window.Resources> 
            ...
            <local:BinaryImageConverter x:Key="ImgConverter" /> 
        </Window.Resources>
    </Window>
    

    You don’t have to specify the assembly if the converter class is in the same project,

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

Sidebar

Related Questions

I have a superclass we can call class A and few subclasses, e.g. class
In python, If I have a class foo , I can call foo.__module__ to
I have a Class(call it main class) and the method in main class calls
I have this class file call SMSHelper.cs First I just wanted to know is
I have small class called 'Call' and I need to store these calls into
i have a class that uses a proxy class inside to call a service
In Visual Studio 2008 (C++) I have a class destructor (Let's call this class
I have a class annotated with @Configuration (let's call it StubConfiguration ) which has
In my extended PreferenceActivity class I call addPreferencesFromResource(R.xml.livewallpaper_settings) so I have a xml file
I have a class that requires dynamically setting a List. I also call this

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.