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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:29:23+00:00 2026-05-24T19:29:23+00:00

I have a Silverlight 4 application which uses the MVVM pattern. I have: 1.

  • 0

I have a Silverlight 4 application which uses the MVVM pattern. I have:
1. A standard View
2. A standard ViewModel
3. A separate UserControl which essentially is a wrapper around a DataGrid.

I have placed the UserControl on to my View whose DataContext is the ViewModel. The ViewModel has a property which contains information required by the UserControl (configuration details for the grid). I wish to create “something” within the UserControl so I can bind to the property on the ViewModel and when this property changes the UserControl can reconfigure itself as required.

Is this something a “DependencyProperty”?

RESOLUTION:

I took sternr’s advice and implemented a DependencyProperty within the UserControl in order to bind to a property on the ViewModel. I used a Visual Studio snippet from the following link to help code the property: http://wildermuth.com/2009/03/09/Silverlight_Dependency_Property_Snippet

  • 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-05-24T19:29:24+00:00Added an answer on May 24, 2026 at 7:29 pm

    In order to use the PropertyName="{Binding}" mechanism, you have to use a DependencyProperty.
    However, if you only what to enable other resources to subscribe to changes over one of your properties, it is sufficient to implement the INotifyPropertyChanged interface

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

Sidebar

Related Questions

I have a Silverlight application which uses 2 separate databases. I have a situation
I have an ASP MVC application which uses some silverlight applications in the View.
I have silverlight 2.0 application and which uses WCF service to get data and
We have a silverlight application which uses a dispatcher and I would appreciate any
I have a Silverlight 4 application which has a leaky ViewModel class. I have
I have an MVC application which uses a silverlight control. Somewhere along the line
Background Currently I have a C# Silverlight business application which uses RIA Services. The
Background Currently I have a C# Silverlight business application which uses RIA Services. The
On my MVVM silverlight application I have a dataDrid (in the View) and the
I have a Silverlight application which has on it a Canvas. On that Canvas,

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.