/// <summary> /// Setup /// </summary> /// <param name="v"></param> public void Setup( SpotfireViewProps svp, SortInfoCollectionMsx sortInfo, EventHandler editValueChangedEventHandler = null) { InSetup = true; SVP = svp; SortInfo = sortInfo; ValueChangedCallback = editValueChangedEventHandler; SetupSortColumn(sortInfo.GetSortItem(0), SortBySelector1, Ascending1, Descending1, SortBySelector1_EditValueChanged); SetupSortColumn(sortInfo.GetSortItem(1), SortBySelector2, Ascending2, Descending2, SortBySelector2_EditValueChanged); SetupSortColumn(sortInfo.GetSortItem(2), columnsSelector3, Ascending3, Descending3, SortBySelector3_EditValueChanged); InSetup = false; return; }
/// <summary> /// Setup /// </summary> /// <param name="v"></param> public void Setup( SpotfireViewManager svm, SortInfoCollectionMsx sortInfo, EventHandler editValueChangedEventHandler = null) { InSetup = true; SVM = svm; SortInfo = sortInfo; CallerEditValueChangedHandler = editValueChangedEventHandler; SetupSortColumn(sortInfo.GetSortItem(0), SortBySelector1, Ascending1, Descending1, SortBySelector1_EditValueChanged); SetupSortColumn(sortInfo.GetSortItem(1), SortBySelector2, Ascending2, Descending2, SortBySelector2_EditValueChanged); SetupSortColumn(sortInfo.GetSortItem(2), SortBySelector3, Ascending3, Descending3, SortBySelector3_EditValueChanged); InSetup = false; return; }