Пример #1
0
 public static void SetViewModel(DependencyObject obj, ViewModel value)
 {
     obj.SetValue(ViewModelProperty, value);
 }
Пример #2
0
        static DesignTimeData()
        {
            if ( DesignTimeHelper.IsInDesignMode)
            {
                _designTimeViewModel = new ViewModel();

            }
        }