Base class for apps.
A Fuse project should contain exactly one
App tag, which is the root
node for the entire application.
- Fuse.Desktop 2.7.0
Interface of App
Inherited from AppBase
Background : float4 ux
The clear color of the root graphics view of the App, if applicable.
Children : IList of Node ux
The Node.Children of the virtual root Node of the App. Note that the virtual root node might be different from the RootViewport depending on platform.
ChildrenVisual : Visual uno
ClearColor : float4 uno
OnUnhandledException(Exception, bool) uno
Notfies the App about an unhandled exception within a subsystem of the app. If implementing a subsystems (such as separate threads) where exceptions can be thrown out of the app, you can catch such otherwise unhandled exceptions and report them to this method, to allow users to use the UnhandledException event to deal with such exceptions instead of crashing the App.
Called when the application updates. This method can be overridden by platform-specific App implementations, but should not be overridden in user code. Use UpdateManager instead.
Properties : Properties uno
Resources : IList of Resource ux
The Node.Resources of the virtual root node of the App. Note that the virtual root node might be different from the RootViewport depending on platform
RootViewport : RootViewport uno
The top-level root viewport of this App. This object has
null as parent.
UnhandledException : UnhandledExceptionHandler (object, UnhandledExceptionArgs) ux
Occurs when an exception is unhandled within the App.
You can subscribe to this event to handle exceptions that were otherwise
unhandled by the App, to avoid crashing the app. If the
property of the UnhandledExceptionArgs object is set to
true by a handler,
the app will not crash, but resume execution.