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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:07:18+00:00 2026-06-16T06:07:18+00:00

My search contract basically looks at an SQLite database, and returns the relevant records.

  • 0

My search contract basically looks at an SQLite database, and returns the relevant records. These records are then manipulated so that the appropriate information is available for display and selection on the search charm page. However, I a results corresponding image to display with the result (following the default search contract result template)

The image is stored as a string in my CustomObjectRecord database. When the record is selected it is converted to a CustomObject, and the image string saved in the CustomObjectRecord is converted to a Bitmap object called searchImage. I want this to be displayed with my results, but when the search charm returns I get an error on the output console

Error: BindingExpression path error: 'searchImage' property not found on 'My_App.Classes.CustomObject, My App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. BindingExpression: Path='searchImage' DataItem='My_App.Classes.CustomObject, My App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'Windows.UI.Xaml.Controls.Image' (Name='thumbImage'); target property is 'Source' (type 'ImageSource')

The template definition

<DataTemplate x:Key="LocalStandardSmallIcon300x70ItemTemplate">
    <Grid Width="294" Margin="6">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Border Background="{StaticResource ListViewItemPlaceholderBackgroundThemeBrush}" Margin="0,0,0,10" Width="40" Height="40">
                <Image Name="thumbImage" Source="{Binding searchImage}" Stretch="UniformToFill"/>
            </Border>
            <StackPanel Grid.Column="1" Margin="10,-10,0,0">
                <TextBlock Text="{Binding Name}" Style="{StaticResource BodyTextStyle}" TextWrapping="NoWrap"/>
            </StackPanel>
        </Grid>
    </DataTemplate>

searchImage is defined in CustomObject as

 public Bitmap searchImage;

The searchImage property of my CustomObject is set when the record is loaded from the database. The Name binding in the same template works fine.

Any pointers would be great.
If any more code is required please let me know.

  • 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-16T06:07:19+00:00Added an answer on June 16, 2026 at 6:07 am

    Got it, it was simply a case of including { get; set; } on the searchImage definition…

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

Sidebar

Related Questions

Ok, so basically i have a core data database with customer information in. I
Basically I got a PHP file that returns an array of different results (the
A search API is returning date in String format,I want to compare that date
I have a search form in my web application that throws an Apache 400
I'am working my way through the Windows 8 search contract functionality, in particular the
In PHP, how can I replicate the expand/contract feature for Tinyurls as on search.twitter.com?
I recently implemented the Search Contract in my formerly-known-as-Metro app, and I was suprised
After adding a Search Contract to a project, in App.xaml.cs, I see both this:
I am creating a metro style app and I've implemented the search contract with
I'm new to ASP.NET MVC and I'm creating an app that will search a

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.