SetBackground() public méthode

public SetBackground ( int backgroundIndex ) : void
backgroundIndex int
Résultat void
 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);
     }
 }