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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:26:58+00:00 2026-05-23T01:26:58+00:00

I am new to the silverlight. I found some articles on the internet for

  • 0

I am new to the silverlight. I found some articles on the internet for databinding. I can see that binding is performed in different ways as follows

<TextBlock Text="{Binding Name}"/>
<TextBlock Text="{Binding Path=Name}"/>
<TextBlock Text="{Binding Path=Account}"/>
<TextBlock Text="{Binding Path=Property1.Property2.Property3}"/>

In the first textblock binding is performed with property name. In second example also binding is performed with property name. Then what is different with Path in second textblock ? I know how to do binding for the first three textblock but I am not aware how to do binding with the fourth textblock ? and when we use the binding of the following type

<TextBlock Text="{Binding Path=Property1.Property2.Property3}"/>

Can you please give me coding example along with explanation for all above thing ? If I misunderstood something then please guide me.

  • 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-23T01:26:58+00:00Added an answer on May 23, 2026 at 1:26 am

    By using the following binding:

    <TextBlock Text="{Binding Path=Property1.Property2.Property3}"/>
    

    You’re saying that the data context of the TextBlock has a property called Property1, which returns an object that has a property called Property2, which in turn has a property called Property3. The value returned by Property3 is what will be shown in the TextBox.

    For example, if your classes looked like this and the data context for the TextBox was an instance of Foo, you’d see “Hello World” displayed:

    public class Foo
    {
       public Foo1 Property1 { get; set; }
    }
    
    public class Foo1
    {
       public Foo2 Property2 { get; set; }
    }
    
    public class Foo2
    {
       public string Property3 { get { return "Hello World"; } }
    }
    

    The “.” syntax just lets you refer to “subproperties” of an object. For more information, take a look at this MSDN article.

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

Sidebar

Related Questions

Can I add new Silverlight 2.0 projects to my ASP.NET 2.0 web app and
With the new Silverlight 3.0 feature that allows the components to be hosted outside
I can create new Silverlight App with .NET RIA Services enabled. But when I
I am new to Silverlight and want to animate a ball that is shot
I am still new to silverlight and would like to ask few questions that
I am really new to Silverlight. I am working through some of the sample
From a silverlight forum page I found, I was under the impression that a
I have inherited some Silverlight\WCF code and now need to implement some new features.
I have found a few examples that relate to WPF, but none for Silverlight.
Hello I want to post some data from silverlight to a website. I found

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.