AddGroupSubFilter() public method

public AddGroupSubFilter ( FilterGroupEditor fge ) : void
fge FilterGroupEditor
return void
Ejemplo n.º 1
0
 private void fgeOnAddedFirstElement(object sender, EventArgs eventArgs)
 {
     if (!this.IsReadOnly)
     {
         _backgroundIndex += BackgroundIndexStep;
         var newFge = new FilterGroupEditor(_collection, true, this.IsReadOnly, this);
         mainGrid.Children.Remove(_rootGroup);
         newFge.AddGroupSubFilter(_rootGroup);
         newFge.SetBackground(_rootGroup.MyBackgroundIndex + BackgroundIndexStep);
         SetRootGroup(newFge);
     }
 }
 private void fgeOnAddedFirstElement(object sender, EventArgs eventArgs)
 {
     if (!this.IsReadOnly)
     {
         _backgroundIndex += BackgroundIndexStep;
         var newFge = new FilterGroupEditor(_collection, true, this.IsReadOnly, this);
         mainGrid.Children.Remove(_rootGroup);
         newFge.AddGroupSubFilter(_rootGroup);
         newFge.SetBackground(_rootGroup.MyBackgroundIndex + BackgroundIndexStep);
         SetRootGroup(newFge);
     }
 }