FindMyFiles
FindMyFiles.ViewModels
ResultRow Class
Supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.
public sealed class ResultRow : CommunityToolkit.Mvvm.ComponentModel.ObservableObject
Inheritance System.Object → CommunityToolkit.Mvvm.ComponentModel.ObservableObject → ResultRow
Properties
ResultRow.EntryRef Property
Engine row identity — lets the view re-find a selected row after a position-preserving requery (best effort).
public ulong EntryRef { get; }
Property Value
ResultRow.FullPath Property
Absolute path (ParentPath + Name) — what open/copy act on.
Empty until Fill(RowData, IHighlighter).
public string FullPath { get; }
Property Value
ResultRow.Index Property
Absolute position of this row in the full result set — the virtualized list's stable key, set once at placeholder creation and never changed (the same instance is refilled when its page lands).
public long Index { get; init; }
Property Value
ResultRow.IsPlaceholder Property
True while this is an unfilled placeholder (its page hasn't arrived); the row template shows a skeleton until Fill(RowData, IHighlighter).
public bool IsPlaceholder { get; }
Property Value
Methods
ResultRow.CreatePlaceholder(long) Method
Make an empty row for index — the virtualized list's only constructor, called for every slot before any data is fetched.
public static FindMyFiles.ViewModels.ResultRow CreatePlaceholder(long index);
Parameters
index System.Int64
Absolute position of the row in the full result set.
Returns
ResultRow
A new placeholder row keyed to index.
ResultRow.Fill(RowData, IHighlighter) Method
Populate this placeholder from an engine RowData page hit: copies identity (EntryRef, FullPath), formats size/date for display, picks the type glyph, and clears IsPlaceholder. In place — the bound instance is reused.
public void Fill(FindMyFiles.Engine.RowData data, FindMyFiles.Highlighting.IHighlighter? highlighter=null);
Parameters
data RowData
The engine page hit supplying this row's identity and fields.
highlighter IHighlighter
Active-query highlighter, or null when no query is set.