FindMyFiles

FindMyFiles.ViewModels

RequeryOriginExtensions Class

Helpers over RequeryOrigin.

public static class RequeryOriginExtensions

Inheritance System.Object → RequeryOriginExtensions

Methods

RequeryOriginExtensions.PreservesPosition(this RequeryOrigin) Method

True for origins that restore the previous viewport instead of scrolling to the top (IndexChanged, VolumeReady, Stale) — the background refreshes the user did not initiate.

public static bool PreservesPosition(this FindMyFiles.ViewModels.RequeryOrigin origin);

Parameters

origin RequeryOrigin

The requery origin to classify.

Returns

System.Boolean
True when the origin preserves the viewport; false when it resets to the top.