Có thể thêm các màu động vào một TextBlock ..i.e. có một ký tự trong một màu và màu tiếp theo trong một màu khác. <TextBlock Text="{Binding no}" TextWrapping="Wrap" Margin="10,0,0,0" Style="{StaticRes
tôi thường có kịch bản shell mà gọi ngôn ngữ kịch bản khác, như vậy:
#!/bin/bash
cat somefile|awk '
BEGIN
{
#This line is not auto-indented and is colored as a string constant.
...
}