iam trying to create a TextBlock with runobject at runtime. i need the textblock to show following text:
Please Click Here to go to next Page.
Click here should be a "link" like, where the user can click on it and he will move to the next tabitem ..
i have:
var tbGoToNextTab = new TextBlock
{
Content = "Please Click Here to go to next Page.",
Foreground = new SolidColorBrush(Colors.Black)
};
tbGoToNextTab .Click +=new RoutedEventHandler(tbGoToNextTab_Click);
how would i just make the Click Here Clickable, have underline and blue text color and perform an action when clicking on it ?
thanks in advance
EDIT:
I just want the 2 Words "Click Here" clickable ...the rest should be displayed as normal text.. I think i should be doing this with Inlines.. any suggestions ?