public static TreeViewItem xAppendTextItem(this TreeViewItem parent, string format, params object[] args) { TextBlock header = TextBlockEx.Create(format, args); return(parent.xAppend(header, null)); }
public static TextBlock CreateLightGray(string format, params object[] args) { return(TextBlockEx.CreateWithColor(string.Format(format, args), Brushes.LightGray, null)); }
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)); }