Click or drag to resize

Tray Class

IT Hit User File System
Tray application window. Provides application commands and shows list of file system events.
Inheritance Hierarchy
SystemObject
  Window
    ITHit.FileSystem.Windows.WinUITray

Namespace:  ITHit.FileSystem.Windows.WinUI
Assembly:  ITHit.FileSystem.Windows.WinUI (in ITHit.FileSystem.Windows.WinUI.dll) Version: 9.0.29481.0-Beta
Syntax
public sealed class Tray : Window, IDisposable, 
	IComponentConnector

The Tray type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAppWindow
Gets the AppWindow associated with this XAML Window.
(Inherited from Window.)
Public propertyBounds
Gets a Rect pixels.
(Inherited from Window.)
Public propertyCompositor
Gets the Compositor for this window.
(Inherited from Window.)
Public propertyContent
Gets or sets the visual root of an application window.
(Inherited from Window.)
Public propertyCoreWindow
Desktop apps always return null for this property.
(Inherited from Window.)
Public propertyDebugMenu
Debug menu in main menu. Displays only in case default menu was not cleared. Use Items property to add or remove items.
Public propertyDispatcher
Always returns null in a Windows App SDK app. > [!NOTE] > Window.Dispatcher may be altered or unavailable in future releases. Use Window.DispatcherQueue instead.
(Inherited from Window.)
Public propertyDispatcherQueue
Gets the DispatcherQueue object for the window.
(Inherited from Window.)
Public propertyDriveNameText
Drive name row text in header.
Public propertyEnableDisableDebugLoggingContextMenu
Enable / Disable Debug Logging context menu item (available when engine is null)
Public propertyExtendsContentIntoTitleBar
Gets or sets a value that specifies whether the default title bar of the window should be hidden to create space for app content.
(Inherited from Window.)
Public propertyHeader
Header text.
Public propertyHideShowLogContextMenu
Hide / Show Log context menu item (available when engine is null)
Public propertyLoginMenuItem
Login menu in main menu. Displays only in case default menu was not cleared and engine is logged out.
Public propertyLogoutMenuItem
Logout menu in main menu. Displays only in case default menu was not cleared and engine is logged in.
Public propertyMainMenuFlyout
Main menu shown on Settings button click (with default menu items). Use Items property to add or remove items.
Public propertyMountNewDriveContextMenu
Mount New Drive context menu item (available when engine is null)
Public propertyMountNewDriveMenu
Mount New Drive menu in main menu. Displays only in case default menu was not cleared.
Public propertyNotifyIconText
Gets or sets the ToolTip text displayed when the mouse pointer rests on a notification area icon.
Public propertyOpenFolderButton
Open Folder button in footer.
Public propertyOpenLogFileContextMenu
Open Log File context menu item (available when engine is null)
Public propertyPinned
Indicates if the window is pinned.
Public propertyRequestSupportContextMenu
Request Support context menu item (available when engine is null)
Public propertyShowFeedbackMenu
Show Feedback menu in main menu. Displays only in case default menu was not cleared.
Public propertyShowSettingsMenu
Settings menu in main menu. Displays only in case default menu was not cleared.
Public propertyStartSynchronizationMenu
Start Synchronization menu in main menu. Displays only in case default menu was not cleared.
Public propertyStopSynchronizationMenu
Stop Synchronization menu in main menu. Displays only in case default menu was not cleared.
Public propertySystemBackdrop
Gets or sets the system backdrop to apply to this Window. The backdrop is rendered behind the Window content.
(Inherited from Window.)
Public propertyTitle
Gets or sets a string used for the window title.
(Inherited from Window.)
Public propertyUnmountMenu
Unmount menu in main menu. Displays only in case default menu was not cleared.
Public propertyViewOnlineButton
View Online button in footer.
Public propertyViewOnlineMenusVisible
Gets or sets visibility (true means Visible) of "view online" button and "view item online" context menu item of history items
Public propertyVisible
Gets a value that reports whether the window is visible.
(Inherited from Window.)
Top
Methods
  NameDescription
Public methodActivate
Attempts to activate the application window by bringing it to the foreground and setting the input focus to it.
(Inherited from Window.)
Public methodClearMainMenu
Clear all the items of main menu.
Public methodClose
Closes the application window.
(Inherited from Window.)
Public methodConnect
Connect()
Public methodDispose
Releases all resources used by the Tray
Public methodEquals(Window) (Inherited from Window.)
Public methodEquals(Object) (Inherited from Window.)
Public methodGetBindingConnector
GetBindingConnector(int connectionId, object target)
Public methodStatic memberGetDpiForWindow
Public methodGetHashCode (Inherited from Window.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHideFooter
Hides footer with buttons.
Public methodInitializeComponent
InitializeComponent()
Public methodResize
Resizes the window to desired width and height, taking in count corrent scale
Public methodSetEngineAsync
Associates Engine with Tray and starts listening to Engine events. Engine executes Tray commands. The tray connects to ItemsProgress, ItemsChanged, StateChanged events and reflects changes in its UI. If null is passed, the Engine and Tray are disassociated.
Public methodSetTitleBar
Enables title bar behavior on a XAML element when ExtendsContentIntoTitleBar is true.
(Inherited from Window.)
Public methodShowWithAnimation
Shows the window with animation.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventActivated
Occurs when the window has successfully been activated.
(Inherited from Window.)
Public eventClosed
Occurs when the window has closed.
(Inherited from Window.)
Public eventErrorDescriptionClick
Fires when "Error Description" menu is clicked on the item.
Public eventResolveConflictClick
Fires when "Resolve Conflict" menu is clicked on the item.
Public eventSizeChanged
Occurs when the app window has first rendered or has changed its rendering size.
(Inherited from Window.)
Public eventViewItemOnlineClick
Fires when "View Online" menu is clicked on the item.
Public eventVisibilityChanged
Occurs when the value of the Visible property changes.
(Inherited from Window.)
Top
Fields
  NameDescription
Public fieldEngine
Virtual engine instance.
Top
See Also