powered by simpleCommunicator - 2.0.59     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / WPF, Silverlight [игнор отключен] [закрыт для гостей] / DevExpress и компонент Ribbon
3 сообщений из 3, страница 1 из 1
DevExpress и компонент Ribbon
    #37179691
Chek_Fedor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Подскажите как добавить кнопки с картинкой к группе
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
<UserControl x:Class="SilverlightApplication13.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars">

    <Grid x:Name="LayoutRoot" Background="White">
        <dxr:RibbonControl Height="100" HorizontalAlignment="Left" Margin="74,69,0,0" Name="ribbonControl1" VerticalAlignment="Top" Width="200">
            <dxr:RibbonDefaultPageCategory>
                <dxr:RibbonPage Caption="Home">
                    <dxr:RibbonPageGroup Caption="Файл">
Вот тут должны быть кнопки
                    </dxr:RibbonPageGroup>
                </dxr:RibbonPage>
                <dxr:RibbonPage Caption="Name" />
            </dxr:RibbonDefaultPageCategory>
        </dxr:RibbonControl>
    </Grid>
</UserControl>
...
Рейтинг: 0 / 0
DevExpress и компонент Ribbon
    #37179908
Chek_Fedor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Все извиняюсь проблема решена на сайте есть видео, там все подробно и наглядно показано.
...
Рейтинг: 0 / 0
DevExpress и компонент Ribbon
    #37182499
Chek_Fedor
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Опять что-то не получается. Одна единственная кнопка и та не отображается, что изменить
Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
<UserControl xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="SilverlightApplication14.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon">

    <Grid x:Name="LayoutRoot" Background="White">
        <dxb:BarManager Name="barManager1" VerticalAlignment="Top" Margin="100,0,12,0">
            <dxb:BarManager.Items>
                <dxb:BarButtonItem Name="bNew" Content="New" Glyph="/SilverlightApplication14;component/Images/1.PNG" Description="Создать" Hint="Оооо">
                </dxb:BarButtonItem>
            </dxb:BarManager.Items>
        </dxb:BarManager>
        <dxr:RibbonControl Height="100" HorizontalAlignment="Left" Margin="186,69,0,0" Name="ribbonControl1" VerticalAlignment="Top" Width="200">
            <dxr:RibbonDefaultPageCategory>
                <dxr:RibbonPage Caption="Home">
                    <dxr:RibbonPageGroup Caption="Common" Name="grpCommon">
                        <dxb:BarButtonItemLink BarItemName="bNew" />
                      </dxr:RibbonPageGroup>

                </dxr:RibbonPage>
            </dxr:RibbonDefaultPageCategory>
        </dxr:RibbonControl>
    </Grid>
</UserControl>
Спасибо
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / WPF, Silverlight [игнор отключен] [закрыт для гостей] / DevExpress и компонент Ribbon
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]