SplashScreen.ImageLocation 屬性

定義

應用程式啟動顯示畫面影像相對於視窗的座標。

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

屬性值

相對於視窗的啟動顯示畫面影像座標,並針對裝置的每英吋點縮放比例, (DPI) 。

備註

您可以使用這個屬性來為應用程式提供額外的載入時間,以協助您模擬 Windows 為應用程式顯示的啟動顯示畫面。 若要深入瞭解,請參閱 如何擴充啟動顯示畫面

如果未顯示啟動顯示畫面影像,則傳回的位置是預期影像的位置。

適用於

另請參閱