예제 #1
0
        protected override void CollectPropertyLists()
        {
            base.CollectPropertyLists();

            _eventNames.Clear();
            _methodNames.Clear();

            var view = _srcViewProp.objectReferenceValue as Component;

            if (view)
            {
                _eventNames.Values = view.GetBindableEventsList();
            }

            else
            {
                _eventNames.Value = null;
            }


            _methodNames.Values = ViewModelProvider.GetViewModelMethodNames(ViewModelName);
        }