zoukankan      html  css  js  c++  java
  • NavBarControl 简单配置

    .

                //导航栏按钮
                DevExpress.XtraNavBar.NavBarControl nBC = new DevExpress.XtraNavBar.NavBarControl();
                //导航栏分组按钮
                DevExpress.XtraNavBar.NavBarGroup nBG = new DevExpress.XtraNavBar.NavBarGroup();
                //导航栏分组控件,可以添加 公共控件 或 自定义控件
                DevExpress.XtraNavBar.NavBarGroupControlContainer nBGContainer = new DevExpress.XtraNavBar.NavBarGroupControlContainer();
    
                /*--------------------------*/
                ((System.ComponentModel.ISupportInitialize)(nBC)).BeginInit();
                nBC.SuspendLayout();
                nBGContainer.SuspendLayout();
                ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit();
                /*--------------------------------------------------------------------------------------------*/
    
                nBG.Caption = "navBarGroup1";
                nBG.ControlContainer = nBGContainer;
                nBG.Expanded = true;
                nBG.GroupClientHeight = 356;
                nBG.GroupStyle = DevExpress.XtraNavBar.NavBarGroupStyle.ControlContainer;
                nBG.Name = "navBarGroup1";
    
                nBG.GroupCaptionUseImage = DevExpress.XtraNavBar.NavBarImage.Large;/*设置图片显示为大图标*/
                //nBG.ImageOptions.LargeImage =   ;/*设置大图片图片*/
                //nBG.ImageOptions.SmallImage =   ;/*设置小图标图片*/
                /*--------------------------*/
                nBGContainer.Appearance.BackColor = System.Drawing.SystemColors.Control;
                nBGContainer.Appearance.Options.UseBackColor = true;
                nBGContainer.Controls.Add(this.treeList1);//添加 公共控件 或 自定义控件
                nBGContainer.Name = "navBarGroupControlContainer1";
                nBGContainer.Size = new System.Drawing.Size(250, 356);
                nBGContainer.TabIndex = 0;
    
    
                /*--------------------------------------------------------------------------------------------*/
                ((System.ComponentModel.ISupportInitialize)(nBC)).EndInit();
                nBC.ResumeLayout(false);
                nBGContainer.ResumeLayout(false);
                ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit();

    其他链接:https://blog.csdn.net/qq992817263/java/article/details/54017869

    .

  • 相关阅读:
    又玩起了“数独”
    WebService应用:音乐站图片上传
    大家都来DIY自己的Blog啦
    CSS导圆角,不过这个代码没有怎么看懂,与一般的HTML是不同
    网站PR值
    CommunityServer2.0何去何从?
    网络最经典命令行
    炎热八月,小心"落雪"
    Topology activation failed. Each partition must have at least one index component from the previous topology in the new topology, in the same host.
    SharePoint 2013服务器场设计的一些链接
  • 原文地址:https://www.cnblogs.com/lanyubaicl/p/13214853.html
Copyright © 2011-2022 走看看