FindMyFiles
FindMyFiles
MainPage Class
Wiring only: builds the ViewModel graph and connects view events to it. Imperative ListView work (viewport/selection restore, row actions) lives in ResultsViewportManager; the F12 panel chrome in PerfPanel; converters in UiConverters.
public sealed class MainPage : Microsoft.UI.Xaml.Controls.Page, Microsoft.UI.Xaml.Markup.IComponentConnector
Inheritance System.Object → Microsoft.UI.Xaml.DependencyObject → Microsoft.UI.Xaml.UIElement → Microsoft.UI.Xaml.FrameworkElement → Microsoft.UI.Xaml.Controls.Control → Microsoft.UI.Xaml.Controls.UserControl → Microsoft.UI.Xaml.Controls.Page → MainPage
Implements Microsoft.UI.Xaml.Markup.IComponentConnector
Constructors
MainPage() Constructor
Builds the ViewModel graph and wires view events (IME composition, drag & drop, keyboard, sort headers) to the ViewModel and ResultsViewportManager. Localized tooltips/automation names are set in code here, and the language radio reflects persisted settings. Finally initializes the empty/results visual state and starts `StartAsync`.
public MainPage();
Properties
MainPage.ViewModel Property
Root of the page's ViewModel graph. The sole `x:Bind` source; it ties together the search, results, notification and diagnostics-panel sub-ViewModels.
public FindMyFiles.ViewModels.MainViewModel ViewModel { get; }
Property Value
Methods
MainPage.Connect(int, object) Method
Connect()
public void Connect(int connectionId, object target);
Parameters
connectionId System.Int32
target System.Object
Implements Connect(int, object)
MainPage.GetBindingConnector(int, object) Method
GetBindingConnector(int connectionId, object target)
public Microsoft.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target);
Parameters
connectionId System.Int32
target System.Object
Implements GetBindingConnector(int, object)
Returns
Microsoft.UI.Xaml.Markup.IComponentConnector
MainPage.InitializeComponent() Method
InitializeComponent()
public void InitializeComponent();