Код: Выделить всё
TextBlock tbHeader = new TextBlock();
Image headerImage = new Image();
var bitmapImage = new BitmapImage();
headerImage.Source = bitmapImage;
tbHeader.Inlines.Add(headerImage);
tbHeader.Inlines.Add(" " + text);
example.Header = tbHeader
как мне получить доступ конкретно к тексту после изображения в текстовый блок? Я не знаком с тем, как работают InlineCollections или как найти нужную мне коллекцию.
Подробнее здесь: https://stackoverflow.com/questions/790 ... t-elements
Мобильная версия