예제 #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));
        }