Click or drag to resize

NavigationListTTryNavigateForward(T, FuncT, Boolean, Boolean) Method

Tries to go forward in the navigation list to the next valid navigation point.

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryNavigateForward(
	out T point,
	Func<T, bool>? IsStillValidEvaluation,
	bool removeInvalidNavigationPoints
)

Parameters

point  T
On success, returns the next navigation point, which is valid.
IsStillValidEvaluation  FuncT, Boolean
Evaluation function, which tests the navigation points in the list for validity.
removeInvalidNavigationPoints  Boolean
If set to true, invalid navigation points encountered during the forward movement in the list would be removed from the navigation list.

Return Value

Boolean
Returns True when a valid navigation point forward in the list was found.
See Also