Ejemplo n.º 1
0
 public BaseTreeNodeViewModel(BaseTreeViewModel trvTree, IHierarchicalViewModel parent, string text,
                              NodeType type, IconType icon, object tag,
                              bool lazyLoad, bool isBold = false, MvvmColor foreground = null)
     : base(parent, text, tag, lazyLoad, isBold, foreground)
 {
     TreeViewModel = trvTree;
     Type          = type;
     Icon          = icon;
 }
 public NodeMessageViewModel(BaseTreeViewModel trvTree, BaseTreeNodeViewModel parent, string message) :
     base(trvTree, parent, message, NodeType.Table, IconType.Error, null, false, true, BauMvvm.ViewModels.Media.MvvmColor.Red)
 {
 }