Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

New Post: Bind to a property value

$
0
0

How can you bind something to a property value, so I have a collection of items like:

 

publicclass Item
{publicstring Title { get; set; }public Detail Details { get; set; }
}publicclass Detail
{publicstring Snippet { get; set; }publicstring SubTitle { get; set; }
}

This is the result from deserialized json response. 


I'm wondering how I can bind a TextBlock value to 


Details.Subtitle


Is it possible or do I need to flattern the object before binding it?


Viewing all articles
Browse latest Browse all 1760