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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:36:07+00:00 2026-06-07T16:36:07+00:00

I have a custom object type dependency property that is being populated at runtime.

  • 0

I have a custom object type dependency property that is being populated at runtime. It is updated correctly, and the corect information is being stored in this object.

However, when I try to bind a property of this object to a textblock, no text appears (despite it definitely having data).

So, let’s say the object type is as follows :

Public class CustomObject{
[Key]
 public int Id { get; set; }
 public string Name { get; set; }
 }

This object is definitely being populated, I have verified this with breakpoints.

I create a dependency property of this objects type, which definitely works correctly – this has also been verified. Let’s call the dependency property SelectedCustomObject.

And I bind this dependency property to my view :

 <TextBlock  Text="{Binding SelectedCustomObject.Name, Mode=TwoWay}" FontSize="10" VerticalAlignment="Center" HorizontalAlignment="Center"/>

The DataContext is set in my user control, and this definitely works as I have made several bindings to other dependency properties in the same view model and they work perfectly.

Therefore, by process of elimination I can only assume that my XAML syntax is off and you cannot bind to my populated and working dependency property like this.

Can anyone shed some light on this for me please ?

  • 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-07T16:36:08+00:00Added an answer on June 7, 2026 at 4:36 pm

    The answer to my question turned out to be that Silverlight was maintaining a separate cache and thus my new dependency property was, for whatever reason, not loading.

    I deleted and regenerated my .XAP file, nothing.

    I cleared my IE cache, nothing.

    I opened Microsoft Silverlight from my start menu, went to the Application Storage tab and deleted all – then when I refreshed, all of my work appeared.

    Happy days.

    Hope this helps someone else :).

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

Sidebar

Related Questions

I have a custom slider-type object, that I wish to make more usable. Currently
I have a custom object Foo with a boolean property called Flagged and when
I have a custom object that I was adding to an array via a
I have a custom principal object that I want to be able to serialize
I have a UITableView that displays various nsstrings from a custom object called a
I have a custom converter that has a DefaultText property. All my converter does
I have a custom data container object of type RowOfPlayerData. When I try to
I have a custom type that I created, which should be persisted in a
Ok, so i have a custom object that is a myUser. myUser looks like
I have a custom object that contains an array (called children) where objects of

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.