Esempio n. 1
0
        private void FollowList(IValueHolder prop)
        {
            var refe = prop.Value as NdfCollection;

            if (refe == null)
            {
                return;
            }

            var editor = new ListEditorViewModel(refe, NdfbinManager);

            DialogProvider.ProvideView(editor, this);
        }
        private void FollowList(IValueHolder prop)
        {
            var refe = prop.Value as NdfCollection;

            if (refe == null)
            {
                return;
            }

            if (isTable(refe))
            {
                var editor = new ListEditorViewModel(refe, Object.Class.Manager);
                DialogProvider.ProvideView(editor, ParentVm);
            }
            else
            {
                var editor = new ListEditorViewModel(refe, Object.Class.Manager);
                DialogProvider.ProvideView(editor, ParentVm);
            }
        }
        private void FollowList(IValueHolder prop)
        {
            var refe = prop.Value as NdfCollection;

            if (refe == null)
                return;

            var editor = new ListEditorViewModel(refe, NdfbinManager);

            DialogProvider.ProvideView(editor, this);
        }