SciChart.Charting Assembly > SciChart.Charting.Model.DataSeries Namespace > VectorFieldDataSeriesBase Class > InvalidateParentSurface Method : InvalidateParentSurface(RangeMode,FieldDataDistributionArgs,Boolean) Method
Provides RangeMode invalidation options for the parent surface.
Optional distribution hints for this data update. Replaces the hints supplied at construction time.
If set to true, the change counter is incremented.
InvalidateParentSurface(RangeMode,FieldDataDistributionArgs,Boolean) Method
May be called to trigger a redraw on the parent SciChart.Charting.Visuals.SciChartSurface. This method is extremely useful when IDataSeries are in a ViewModel and bound via MVVM to SciChart.Charting.Visuals.RenderableSeries.IRenderableSeries. Please see the rangeMode parameter for invalidation options.
Syntax
public void InvalidateParentSurface( 
   RangeMode rangeMode,
   FieldDataDistributionArgs args,
   bool hasDataChanges
)

Parameters

rangeMode
Provides RangeMode invalidation options for the parent surface.
args
Optional distribution hints for this data update. Replaces the hints supplied at construction time.
hasDataChanges
If set to true, the change counter is incremented.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also