c# - Styling or formatting json data in xaml -
I am working on a Windows Phone 8.1 app but as I am starting a new one and on my background websites It is more where I write CSS and magic works. I find it difficult to format JSON data which is tied in my xaml.
My JSON code
{"group": [{"UniqueId": "BasicxGroup1", "title": "startup", "subtitles": "testing subtitles 1 "," ImagePath ":" Assets / Startup 1. JPG "" Item ": [{" Unique ID ":" Group1 Item -1 "," Title ":" Item Title: 1 "," Subtitle ": "Testing details", "Content": "Testing requires some formatting"}]}}} " " Item subtitles: 1 "," ImagePath ":" Assets / LightGrey. "," Details " Pre> I can use other options such as my own Add another key to the moha item and then you can tie it in your xaml and then I can style differently but is it necessary for just formatting? Do I have other options?
My XML code
& lt; Grid grid. Raw = "0" & gt; & Lt; Textblocks margin = "10,0,10,0" font seices = "18" text = "{binding description}" /> & lt; / Grid & gt; & Lt; Grid grid. Raw = "1" & gt; & Lt; Textblocks margin = "10,0,10,0" font size = "18" text = "{binding content}" /> gt; & Lt; / Grid & gt; & Lt; / Grid & gt; I am new to this and I am learning, please tell me that I am in any way wrong.
Consider using a control.
Comments
Post a Comment