Пример #1
0
        public static TreeViewItem xAppendTextItem(this TreeViewItem parent, string format, params object[] args)
        {
            TextBlock header = TextBlockEx.Create(format, args);

            return(parent.xAppend(header, null));
        }
Пример #2
0
 public static TextBlock CreateLightGray(string format, params object[] args)
 {
     return(TextBlockEx.CreateWithColor(string.Format(format, args), Brushes.LightGray, null));
 }
Пример #3
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));
        }