SetInherit() public method

Sets the inheritence parent.
public SetInherit ( IPaletteElementColor inheritElementColor ) : void
inheritElementColor IPaletteElementColor
return void
Example #1
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 /// <param name="inheritTick">Source for inheriting tick values.</param>
 /// <param name="inheritTrack">Source for inheriting track values.</param>
 /// <param name="inheritPosition">Source for inheriting position values.</param>
 public void SetInherit(IPaletteElementColor inheritTick,
                        IPaletteElementColor inheritTrack,
                        IPaletteElementColor inheritPosition)
 {
     _tickState.SetInherit(inheritTick);
     _trackState.SetInherit(inheritTrack);
     _positionState.SetInherit(inheritPosition);
 }
Example #2
0
 /// <summary>
 /// Sets the inheritence parent.
 /// </summary>
 /// <param name="inheritPosition">Source for inheriting position values.</param>
 public void SetInherit(IPaletteElementColor inheritPosition)
 {
     _positionState.SetInherit(inheritPosition);
 }