Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

How to create a control with string as direct content? RSS

20 replies

Last post Sep 25, 2008 01:27 AM by Todd Herman

(0)
  • Todd Herman

    Todd Herman

    Member

    626 Points

    126 Posts

    Re: Re: How to create a control with string as direct content?

    Sep 25, 2008 01:27 AM | LINK

    Harlequin

    Hey Todd. The link to the project is at the very bottom of the first post. In the project it sets the Text field in C#, but I needed it to be in Xaml for ease of use. Thus trying to shove text directly into the controls Xaml insides, or via a .Text element inside said control.

     Can you help me out with a quick XAML snippit that I could add to the Page.xaml in the sample project to create a LinkLabel control.  I am in the middle of doing some technical reviewing on a book and a little swamped.  The few brain cells I expanded on this weren't enough to understand exactly how I would use the control from the designer.  I want to be sure I am doing it correctly and getting the expected results before I give you any more direct feedback.

    If this post answered your question, please mark as answered.

    Todd Herman
    http://blogs.thecodearchitects.com