zoukankan      html  css  js  c++  java
  • 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;
  • 相关阅读:
    泛型
    Abp SSO
    Abp 添加权限项<一>
    自定义策略-简单实践 <一>
    RabbitMq 开始<一>
    Abp 领域事件简单实践 <四> 聚合根的领域事件
    Abp 领域事件简单实践 <三> 自定义事件
    1.CentOS7安装教程
    深入浅出JSONP--解决ajax跨域问题
    设置MySQL客户端连接使用的字符集
  • 原文地址:https://www.cnblogs.com/xieyong_198510/p/4689129.html
Copyright © 2011-2022 走看看