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