YAMP.ParseContext.ChangeLastPlotTo C# (CSharp) Method

ChangeLastPlotTo() public method

Sets the lastplot to be used to the given value.
public ChangeLastPlotTo ( PlotValue plot ) : ParseContext
plot PlotValue The plot to change to.
return ParseContext
        public ParseContext ChangeLastPlotTo(PlotValue plot)
        {
            _lastPlot = plot;
            RaiseLastPlotChanged(new PlotEventArgs(plot));
            return this;
        }

Usage Example

コード例 #1
0
ファイル: SubPlotValue.cs プロジェクト: FlorianRappl/YAMP
 SubPlotValue AddSubPlot(ParseContext context, int row, int column, PlotValue plot, int rowSpan = 1, int columnSpan = 1)
 {
     AddSubPlot(row, column, plot, rowSpan, columnSpan);
     context.ChangeLastPlotTo(this);
     return this;
 }
All Usage Examples Of YAMP.ParseContext::ChangeLastPlotTo