DevExpress控件库----AlertControl提示控件
生活随笔
收集整理的這篇文章主要介紹了
DevExpress控件库----AlertControl提示控件
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
AlertControl控件可以在給用戶彈出提示信息時!能夠很好的彈出個性化的窗口。
?
簡單易用:此時彈出窗口:
?
this.alertControl1.Show(this, "提示!", "您有一條消息!");簡單屬性設置:設置提出窗口的顯示的位置
this.alertControl1.FormLocation = DevExpress.XtraBars.Alerter.AlertFormLocation.BottomRight;// 摘要: // Contains values that specify the position on screen at which alert windows// are displayed.public enum AlertFormLocation{// 摘要: // An alert window appears at the top left corner of the screen.TopLeft = 0,//// 摘要: // An alert window appears at the top right corner of the screen.TopRight = 1,//// 摘要: // An alert window appears at the bottom left corner of the screen.BottomLeft = 2,//// 摘要: // An alert window appears at the bottom right corner of the screen.BottomRight = 3,}設置顯示多少時間窗口會自動關閉:
//以毫秒為單位this.alertControl1.AutoFormDelay = 7000;設置單窗口出現的效果方式 和 速度:
//出現的效果方式this.alertControl1.FormShowingEffect = DevExpress.XtraBars.Alerter.AlertFormShowingEffect.FadeIn;//彈出的速度this.alertControl1.FormDisplaySpeed = DevExpress.XtraBars.Alerter.AlertFormDisplaySpeed.Fast;?
轉載于:https://www.cnblogs.com/xieyong_198510/p/4689129.html
總結
以上是生活随笔為你收集整理的DevExpress控件库----AlertControl提示控件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iOS一次定位解决方案(基于高德iOS
- 下一篇: hdu 1241Oil Deposits