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

  • SEARCH
  • Home
  • 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 7792829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T22:18:15+00:00 2026-06-01T22:18:15+00:00

I currently have a listBox in a WP7 application that uses databinding to populate

  • 0

I currently have a listBox in a WP7 application that uses databinding to populate it. The problem I’m having though is with this particular line:

<Hyperlink NavigateUri="{Binding LinkUrl}" TargetName="_blank">{Binding Name}</Hyperlink>

It seems that I can’t bind things in this way (outside of an element’s attributes). All this does is create a hyperlink with the literal text {Binding Name} linked to the url. Instead what I’m looking for is for it to use the actual Name variable in its place.

I’ve tried googling for an answer and looked into the Inlines attribute, but I keep coming up empty handed.

Any help would be appreciated

  • 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-06-01T22:18:16+00:00Added an answer on June 1, 2026 at 10:18 pm

    In WPF, the space between the tags is usually the ‘content’ (but not always) and bindable via the Content property. I’m unfamiliar with <Hyperlink> in Windows Phone, but a <HyperlinkButton> should work just as well.

    <HyperlinkButton NavigateUri="{Binding LinkUrl}" TargetName="_blank" Content="{Binding Name}"/>
    

    EDIT: For a <Hyperlink> in a <RichTextBox> try this:

    <RichTextBox>
        <Paragraph>
            <Hyperlink>
                <Hyperlink.Inlines>
                    <Run Text="{Binding Name}"/>
                </Hyperlink.Inlines>
            </Hyperlink>
        </Paragraph>
    </RichTextBox>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The Scenario Currently I have a C# Silverlight Application That uses the domainservice class
I currently have a listbox that has its selected item bound to a property
Currently i have made a bar chart from a listbox from this example: http://weblogs.thinktecture.com/cnagel/2011/06/wpf-listbox-as-bar-chart.html
I currently have a query that looks like this: SELECT NON EMPTY ([Measures].[TOTAL]) ON
I currently have a view that contains a ListBox bound to a a collection
I currently have a winform with a listbox control that allows a user to
I have a task killer program that has a listbox of current running processes.
I currently have a listbox in wpf c# and added some keybindings to the
I have a Listbox that is filled with 30,000 elements <ListBox Name=lbWordlist Grid.Row=1 Margin=10
I have a listbox containing all the items and a second listbox that will

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.