DevExpress WPF 的 DXSplashScreen 控件在应用加载的时候显示一个启动界面。添加DXSplashScreen后,会默认生成一个XAML文件,当然,你也可以根据自己的需求自定义XAML文件。
语言:C# 支持版本:v2014.1.7-v2015.2.7
下面分享如何手动添加 DXSplashScreen 控件。
// Developer Express Code Central Example: // How to manually invoke and close DXSplashScreen // // This example shows how to manually invoke and close DXSplashScreen. By default, // DXSplashScreen contains a progress bar, indicating the progress of the // application load. This example also shows how you can manually change the // progress in code. // // You can find sample updates and versions for different programming languages here: // http://www.devexpress.com/example=E3243 using DevExpress.Xpf.Core; using System.Windows; namespace DXSplashScreenSample { public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); DXSplashScreen.Show<SplashScreenView>(); } } }
本站文章除注明转载外,均为本站原创或翻译
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:DevExpress控件中文网 [https://www.devexpresscn.com/]
本文地址:https://www.devexpresscn.com/post/636.html
欢迎任何形式的转载,但请务必注明出处,尊重他人劳动成果
转载请注明:文章转载自:DevExpress控件中文网 [https://www.devexpresscn.com/]
本文地址:https://www.devexpresscn.com/post/636.html