コード例 #1
0
 public HomeViewModel()
 {
     parent            = this;
     CanCopyBackground = Brushes.Gray;
 }
コード例 #2
0
        protected void setCopyBtnBg(HomeViewModel parent)
        {
            SolidColorBrush brushColor = (FileSources.Count > 0 && !String.IsNullOrEmpty(parent.CurrentDestination)) ? Brushes.Green : Brushes.Gray;

            parent.CanCopyBackground = brushColor;
        }