상속: DataObjectViewModel
예제 #1
0
 public SelectedPropertyViewModel(
     IViewModelDependencies appCtx, IZetboxContext dataCtx, PropertySelectionTaskViewModel parent,
     Property obj, SelectedPropertyViewModel parentProp)
     : base(appCtx, dataCtx, parent, obj)
 {
     this._prop       = obj;
     this._parent     = parentProp;
     this._IsSelected = parent.IsInitialSelected(Properties);
 }
예제 #2
0
        public void OnSelectedPropertySelectionChanged(SelectedPropertyViewModel i)
        {
            var temp = SelectedPropertySelectionChanged;

            if (temp != null)
            {
                temp(this, new SelectedPropertySelectionChangedEventArgs(i));
            }
        }
 public SelectedPropertyViewModel(
     IViewModelDependencies appCtx, IZetboxContext dataCtx, PropertySelectionTaskViewModel parent,
     Property obj, SelectedPropertyViewModel parentProp)
     : base(appCtx, dataCtx, parent, obj)
 {
     this._prop = obj;
     this._parent = parentProp;
     this._IsSelected = parent.IsInitialSelected(Properties);
 }
 public SelectedPropertySelectionChangedEventArgs(SelectedPropertyViewModel i)
 {
     this.Item = i;
 }
 public void OnSelectedPropertySelectionChanged(SelectedPropertyViewModel i)
 {
     var temp = SelectedPropertySelectionChanged;
     if (temp != null)
     {
         temp(this, new SelectedPropertySelectionChangedEventArgs(i));
     }
 }
예제 #6
0
 public SelectedPropertySelectionChangedEventArgs(SelectedPropertyViewModel i)
 {
     this.Item = i;
 }