Beispiel #1
0
        private void SortDescriptors_ItemChanged(object sender, ItemChangedEventArgs <SortDescriptor> e)
        {
            // todo - should relationship be 2-way?  should changes to views sortdescriptions
            // echo back to our SortDescriptors????
            // note with a grid that the view's SDs are what change automatically ...

            RefreshViewAfterSortChange();
        }
 /// <summary>
 /// Fire <see cref="ItemChanged"/> event.
 /// </summary>
 /// <param name="item"></param>
 /// <param name="propertyName"></param>
 protected void OnItemChanged(T item, string propertyName)
 {
     if (ItemChanged != null)
     {
         var args = new ItemChangedEventArgs <T>(item, propertyName);
         ItemChanged(this, args);
     }
 }
Beispiel #3
0
 private void GroupDescriptors_ItemChanged(object sender, ItemChangedEventArgs <GroupDescriptor> e)
 {
     RefreshViewAfterGroupChange();
 }
Beispiel #4
0
 private void FilterDescriptors_ItemChanged(object sender, ItemChangedEventArgs <FilterDescriptor> e)
 {
     RefreshViewAfterFilterChange();
 }