Esempio n. 1
0
 private static Control Link(string link)
 {
     return(Hyperlink(
                link.TruncateWithEllipsis(25),
                () => OpenUrlService.Open(link),
                ContextMenu(link)));
 }
Esempio n. 2
0
        private static Control Hashtag(string text)
        {
            var link = $"https://twitter.com/hashtag/{text}";

            return(Hyperlink(
                       "#" + text,
                       () => OpenUrlService.Open(link),
                       ContextMenu(link)));
        }