Class SimpleSplashScreen
Simple and fast splash screen for display images during application startup.
Inheritance
System.Object
SimpleSplashScreen
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: WinUIEx
Assembly: WinUIEx.dll
Syntax
public sealed class SimpleSplashScreen : IDisposable
Remarks
Once your application window has launched/loaded, The splashscreen should be removed by either disposing this instance or calling Hide(TimeSpan).
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Finalize()
Finalizer
Declaration
protected void Finalize()
Hide(TimeSpan)
Hides the splashscreen
Declaration
public void Hide(TimeSpan fadeTimout = default(TimeSpan))
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | fadeTimout | Time spend fading out the splash screen (defaults to no fade) |
ShowDefaultSplashScreen()
Shows the splashscreen image specified in the application manifest.
Declaration
public static SimpleSplashScreen ShowDefaultSplashScreen()
Returns
Type | Description |
---|---|
SimpleSplashScreen |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException |
ShowSplashScreenImage(String)
Shows a splash screen image at the center of the screen
Declaration
public static SimpleSplashScreen ShowSplashScreenImage(string image)
Parameters
Type | Name | Description |
---|---|---|
System.String | image |
Returns
Type | Description |
---|---|
SimpleSplashScreen |
Implements
System.IDisposable