zoukankan      html  css  js  c++  java
  • devexpress皮肤设置

    DEV的皮肤管理控件:SkinController: TdxSkinController;

    皮肤设置:SkinController.SkinName := appInfo.SkinName;

    TdxRibbon控件的皮肤需要手动设置跟SkinController的一致:
    Ribbon: TdxRibbon;

    Ribbon.ColorSchemeName := appInfo.SkinName;

    工具条控件TdxBarManager的皮肤需要手动设置跟SkinController的一致:

    dxBarManager1: TdxBarManager;

    dxBarManager1.Style := bmsUseLookAndFeel;

    编辑布局控件需要手动设置跟SkinController的一致:

    dxLayoutControl1: TdxLayoutControl;

    使用了ribbon的话就要加入dxSkinsdxRibbonPainter;

    使用的NavBar就要加入dxSkinsdxNavBar2Painter;

    使用的pageContorl就要引用dxSkinscxPCPainter;

    Navbar怎样设置同风格库的选择一起变化?  

    原来的Navbar有自已的风格,我们只要在它的view styles中选择:

    SkinNavigationPaneView 或  SkinExploreBarView 那么Navbar就会根据你设的风格改变风格了,

    两者的区别是前者是outlook风格的(像QQ那样),后者是组风格的(像xp的侧边栏)  

    Ribbon怎样设置同风格库的选择一起变化? 

    这个我想可能是dev的一个bug,它是不根据风格的选择而变化的,

    要手动的再设置一下它的ColorSchemeName属性:设置与风格库所选的风格同名就好了。 

  • 相关阅读:
    android 调试Installation failed with message INSTALL_FAILED_USER_RESTRICTED: Install canceled by user.
    selenium 调用方法
    正则去除空行
    tmux用法
    win10专业版激活
    11.17
    git reset,git checkout区别
    git reset revert区别
    python多线程,守护线程
    win7 32位安装 mong0db
  • 原文地址:https://www.cnblogs.com/hnxxcxg/p/4888213.html
Copyright © 2011-2022 走看看