powershell - How to display twitter statuses (pseudo html) using wpf (powerboots) -
I have a lesson like this: 'tracks on IIS 7' (it's tweeted by the Sonsman). I want to display it somehow using wpf How do I pre-text the text and which control should be used?
The current solution is that I make 2 controls: label and hyperlinks and add them to the text block; in Powerboots it looks like:
Boots (boundary) - Boundthick 10 -Corriorius 10 -Bidderbrush Orange `{textblock {` 'Rail on IIS7' -Backed Green; Hyperlink 'http://is.gd/vWPn' -backg 'RED'}}}-400 400 Although it looks awkward - the hyperlink has moved, I know Do not do it
Another question - is it OK to use the label to display the text? I am asking because it seems that the label can not wrap its contents Should I use textbooks or something entirely?
Honestly, I do not know anything about PowerBoot though:
I think that you are on the right track as the text is preprocessing, you need to purge the text with tweet and find out what the @ reference is What is hyperlink, , etc.
With this knowledge, you can begin to populate your text block, as I think you have tried to do in the submitted code, however, you are right in thinking that a Labels do not have the right option; In fact, the element you want is called a run , which is slightly more than one part of the text, so the word is too much. Finally, for your simplest example, the code will look like this:
Boots (boundary) - borderline 10 --coreriadius 10 -birdbrush orange {{text block {'run' tracks on iis 7 -baker green ; Hyperlink 'http://is.gd/vWPn' -backg 'red'}}} -width 400 Suppose I have the syntax correct for PowerBoots.
Comments
Post a Comment