Пример #1
0
 public static TextBlock CreateLightGray(string format, params object[] args)
 {
     return(TextBlockEx.CreateWithColor(string.Format(format, args), Brushes.LightGray, null));
 }
Пример #2
0
        public static TreeViewItem xAppendLightGrayTextItem(this TreeViewItem parent, string format, params object[] args)
        {
            TextBlock header = TextBlockEx.CreateWithColor(string.Format(format, args), Brushes.LightGray, null);

            return(parent.xAppend(header, null));
        }