Click here to Skip to main content
15,891,629 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
<HyperlinkButton Content="{Binding}" NavigateUri="/ECG.xaml" Background="Aqua">
                                <HyperlinkButton.ContentTemplate>

                                    <DataTemplate>

                                        <TextBlock Text="{Binding Path=ECG}"/>

                                    </DataTemplate>

                                </HyperlinkButton.ContentTemplate>
                            </HyperlinkButton>


it does not show text on emulator
Posted

1 solution

I have two ideas for you.
The first one is:
XML
<hyperlinkbutton content="{Binding ECG}" navigateuri="/ECG.xaml" background="Aqua" />

Another idea is this:
XML
<hyperlinkbutton navigateuri="/ECG.xaml" background="Aqua">
    <hyperlinkbutton.content>
        <datatemplate>
            <textblock text="{Binding ECG}" />
        </datatemplate>
    </hyperlinkbutton.content>
</hyperlinkbutton>

Hope it helps.
 
Share this answer
 
Comments
Member 11015112 27-Jan-15 13:36pm    
thank you..:) i have found another way :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900