Esempio n. 1
0
        public TextBlock()
        {
            _TextParagraph     = new EmojiTextParagraphProperties(this);
            _TextSource        = new EmojiTextSource(this);
            _TextRunProperties = (EmojiTextRunProperties)_TextSource.DefaultTextRunProperties;
#if NET462
            EmojiCharacter.DpiScale = VisualTreeHelper.GetDpi(this);
#endif
        }
Esempio n. 2
0
 internal EmojiTextSource(IEmojiTextBlock element)
 {
     _Element = element;
     DefaultTextRunProperties = new EmojiTextRunProperties(element);
 }
Esempio n. 3
0
 internal EmojiTextParagraphProperties(IEmojiTextBlock element)
 {
     _Element = element;
     DefaultTextRunProperties = new EmojiTextRunProperties(element);
 }