PropertyChanged() 공개 메소드

public PropertyChanged ( IDataRecord record, string name, object previousValue, object nextValue ) : void
record IDataRecord
name string
previousValue object
nextValue object
리턴 void
예제 #1
0
        public void PropertyChanged(IDataRecord record, string name, object previousValue, object nextValue)
        {
            if (DiagramDrawer == null || DiagramDrawer.DiagramViewModel == null || DiagramDrawer.DiagramViewModel.IsLoading)
            {
                return;
            }
            if (name == "IsDirty")
            {
                DiagramViewModel.NavigationViewModel.Refresh();
                return;
            }
            DiagramViewModel.PropertyChanged(record, name, previousValue, nextValue);
            if (record is Workspace || record is InvertGraph || record is FilterStackItem)
            {
                refresh = true;
                return;
            }

            //RefreshByData(record);
        }