Click or drag to resize

NavigationListTTryNavigateBackward(T, FuncT, Boolean, Boolean) Method

Tries to go backward 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 TryNavigateBackward(
	out T point,
	Func<T, bool>? IsStillValidEvaluation,
	bool removeInvalidNavigationPoints
)

Parameters

point  T
On success, returns a previous 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 backward movement in the list would be removed from the navigation list.

Return Value

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