FileSurfer 2.1.2
Cross-platform file manager with support for Git and SFTP
Loading...
Searching...
No Matches
FileSurfer.Core.Views.MainWindow Class Reference

Represents the main FileSurfer window. More...

Inheritance diagram for FileSurfer.Core.Views.MainWindow:
Collaboration diagram for FileSurfer.Core.Views.MainWindow:

Public Member Functions

 MainWindow ()
 Initializes the main window, resolves required templates, and wires global key handling.

Protected Member Functions

override void OnDataContextChanged (EventArgs e)
 Subscribes to property-change notifications when a new data context is assigned.
override void OnLoaded (RoutedEventArgs e)
 Performs initial UI setup after the window is loaded.
override void OnGotFocus (GotFocusEventArgs e)
 Temporarily suppresses hotkeys when focus enters a text input.
override void OnLostFocus (RoutedEventArgs e)
 Restores hotkeys when focus leaves a text input.

Detailed Description

Represents the main FileSurfer window.

Handles various tasks such as resolving key presses and element focus withing the FileSurfer app.

Constructor & Destructor Documentation

◆ MainWindow()

FileSurfer.Core.Views.MainWindow.MainWindow ( )
inline

Initializes the main window, resolves required templates, and wires global key handling.

Member Function Documentation

◆ OnDataContextChanged()

override void FileSurfer.Core.Views.MainWindow.OnDataContextChanged ( EventArgs e)
inlineprotected

Subscribes to property-change notifications when a new data context is assigned.

◆ OnGotFocus()

override void FileSurfer.Core.Views.MainWindow.OnGotFocus ( GotFocusEventArgs e)
inlineprotected

Temporarily suppresses hotkeys when focus enters a text input.

◆ OnLoaded()

override void FileSurfer.Core.Views.MainWindow.OnLoaded ( RoutedEventArgs e)
inlineprotected

Performs initial UI setup after the window is loaded.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnLostFocus()

override void FileSurfer.Core.Views.MainWindow.OnLostFocus ( RoutedEventArgs e)
inlineprotected

Restores hotkeys when focus leaves a text input.


The documentation for this class was generated from the following file:
  • /home/janecea/Documents/CODE/PROJECTS/FileSurfer/src/FileSurfer.Core/Views/MainWindow.axaml.cs