Dela via


SplashScreen.ImageLocation Property

Definition

The coordinates of the app's splash screen image relative to the window.

public:
 property Rect ImageLocation { Rect get(); };
Rect ImageLocation();
public Rect ImageLocation { get; }
var rect = splashScreen.imageLocation;
Public ReadOnly Property ImageLocation As Rect

Property Value

The coordinates of the splash screen image relative to the window and scaled for the dots per inch (dpi) of the device.

Remarks

You can give your app additional time to load by using this property to help you imitate the splash screen that Windows displays for your app. To learn how, see How to extend the splash screen.

If no splash screen image is displayed, the location returned is where the image is expected.

Applies to

See also