zoukankan      html  css  js  c++  java
  • wpf使用devexpress RibbonControl实现导航窗体

    实现如下效果

    <Window xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"  x:Class="HTInvestmentManageSystem.MainWindow"
            Title="金创投资管理系统" Height="350" Width="525" WindowState="Maximized">
        <Grid>
            <dxr:RibbonControl >
                <dxr:RibbonDefaultPageCategory Caption="test">
                    <dxr:RibbonPage Caption="test">
                        <dxr:RibbonPageGroup Caption="Ribbon Page Group" ShowCaptionButton="False" IsCaptionButtonEnabled="False">
                            <dxb:BarButtonItem Content="button1" RibbonStyle="Large" LargeGlyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/Stock_32x32.png" Glyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/Stock_16x16.png"/>
                            <dxb:BarButtonItem Content="button2" RibbonStyle="Large" LargeGlyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/Futures_32x32.png" Glyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/Futures_16x16.png"/>
                            <dxb:BarButtonItem Content="button3" RibbonStyle="Large" LargeGlyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/PortTrade_32x32.png" Glyph="pack://application:,,,/HTInvestmentManageSystem;component/Images/PortTrade_16x16.png"/>
                        </dxr:RibbonPageGroup>
                    </dxr:RibbonPage>
                </dxr:RibbonDefaultPageCategory>
            </dxr:RibbonControl>
        </Grid>
    </Window>

  • 相关阅读:
    2020-2021-1 20201314 《信息安全专业导论》第三周学习总结
    罗马数字转阿拉伯数字
    BASE64编码-20201314黄斯阳
    学期(2020-2021-1) 学号(20201314) 《信息安全专业导论》第2周学习总结
    师生关系
    快速浏览教材 。
    浏览教材的疑问
    2020-2021-1 20201314 《信息安全专业导论》第一周学习总结
    第四周作业补交
    第四周作业
  • 原文地址:https://www.cnblogs.com/tianmochou/p/6225201.html
Copyright © 2011-2022 走看看