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

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