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 7775417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:37:35+00:00 2026-06-01T17:37:35+00:00

I have <Image x:Name=imgScreenshoot Margin=2 Source={Binding Converter={StaticResource ImageConverter1}} /> within a ResourceDictionary at the

  • 0

I have

<Image x:Name="imgScreenshoot" Margin="2" Source="{Binding Converter={StaticResource ImageConverter1}}" />

within a ResourceDictionary

at the same time it has

<local:ImageConverter x:Key="ImageConverter1" />

In design mode there is no error.

But when I start application I got the error that app. canot resolve reference ImageConverter1.

How do I can fix it? Thank you!


 <UserControl.Resources>
        <ResourceDictionary>
            <DataTemplate x:Key="DataTemplateScreen">
                <Border Height="250" Width="250" BorderBrush="#FF3798F1" BorderThickness="2" CornerRadius="5" >
                    <Grid Margin="2,2,2,2" VerticalAlignment="Stretch"  HorizontalAlignment="Stretch">
                        <Grid.Background>
                            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                <GradientStop Color="#FFF0F8FE" Offset="0"/>
                                <GradientStop Color="#FFE0F3FE" Offset="0.3"/>
                                <GradientStop Color="#FF6FA7C5" Offset="1"/>
                            </LinearGradientBrush>
                        </Grid.Background>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                        <Grid x:Name="brdNameActionButtons" Grid.ColumnSpan="3" Margin="0">
                            <Grid.Background>
                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                    <GradientStop Color="#FFDCF0FA" Offset="0"/>
                                    <GradientStop Color="#FFC5E6F7" Offset="0.2"/>
                                    <GradientStop Color="#FF297CCA" Offset="1"/>
                                </LinearGradientBrush>
                            </Grid.Background>
                            <TextBlock x:Name="txbName" Text="{Binding Name}" Margin="2" Grid.Row="0" FontWeight="Bold" FontSize="12" Grid.Column="0" HorizontalAlignment="Left" Foreground="Black" FontFamily="Segoe UI" />
                            <TextBlock x:Name="txbUpdated" Text="{Binding Screenshot.Refreshed}" Margin="2" Grid.Row="0" FontWeight="Bold" FontSize="12" Grid.Column="0" HorizontalAlignment="Right" Foreground="Black" FontFamily="Segoe UI" />
                        </Grid>
                        <Border x:Name="brdScreenshoot" Grid.Column="2" Margin="2" Grid.Row="3"   CornerRadius="5" >
                            <Grid >
                                <Image x:Name="imgScreenshoot" Margin="2" Source="{Binding Converter={StaticResource ImageConverter1}}" />
                            </Grid>
                        </Border>
                        <StackPanel Grid.Column="2" Grid.Row="1"  Orientation="Horizontal"  HorizontalAlignment="Center" Margin="0,2">
                            <Button Content="Play"  HorizontalAlignment="Center" Height="23" Margin="0,0,0,0" VerticalAlignment="Bottom" Width="42" Grid.Row="1"/>
                            <Button Content="Stop"   HorizontalAlignment="Center" Height="23" Margin="2,0,0,0" VerticalAlignment="Bottom" Width="42" Grid.Row="1"/>
                            <Button Content="Cancel"   HorizontalAlignment="Center" Height="23" Margin="2,0,0,0" VerticalAlignment="Bottom" Width="42" Grid.Row="1"/>
                            <Button Content="Refresh"   HorizontalAlignment="Center" Height="23" Margin="10,0,0,0" VerticalAlignment="Bottom" Width="42" Grid.Row="1"/>
                        </StackPanel>
                    </Grid>
                </Border>
            </DataTemplate>
            <ItemsPanelTemplate x:Key="MonitorPlayersItemsPaneltemplate">
                <toolkit:WrapPanel/>
            </ItemsPanelTemplate>
            <local:ImageConverter x:Key="ImageConverter1" />
        </ResourceDictionary>
    </UserControl.Resources>
  • 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-01T17:37:36+00:00Added an answer on June 1, 2026 at 5:37 pm

    Declare the converter higher up, before it is used.

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

Sidebar

Related Questions

I have to kill two processes with the same image name (system and my
In sql server database, I have column name Image which has urls like http://www.xyz.com/1009/image1.jpg
I have a view where I am showing image and image name in a
I have a collection of objects which describe an image-name, its size and it's
Suppose I have string Name and Image Photo as properties of a class in
In my database I have table AnimalDetails containing animalNumber(primary key),name,breed dateofbirth and an image
I have a table with two columns - the key contains the image name,
Here is what I have <img src=http://some.site.com/v/b/image-name/_thumb_100x100.jpg> I'm trying to modify the src by
I have almost 10,000 images in a Folder with image name like Abies_koreana_Blauer_Pfiff_05-06-10_1.jpg Abies_koreana_Prostrate_Beauty_05-05-10_2.jpg
Before I have hardcoded the positions of Image view and name but now I

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.