Telerik Forums
UI for WPF Forum
0 answers
16 views

Hello

I have a RadRibbonView that I would like to set some properties, and assign events, through the page code-behind.

e.g, setting the text on the various RadMenuItems in the Ribbon.

 

Any suggestions or help on how to do this is appreciated.

Thanks!

 

Curt
Top achievements
Rank 1
Iron
 asked on 29 Dec 2023
0 answers
23 views

We are trying to add the translation for the QuickAccessToolBar ribbon, but altough I have added the Identifier in our Resources. The entries remains in english.

if I select Show below the Ribbon, then some translation are applied others not:

What are we missing?

We using Telerik Version: 2022.2.815.45

We have added the identifier defined in this link in our resources:

WPF RibbonView - Localization - Telerik UI for WPF

 

Alessandro
Top achievements
Rank 1
 updated question on 13 Nov 2023
0 answers
48 views

Hello,

 

I have RadRibbonTab that I am binding an item source to. This item source contains a GroupName as well as a list of other items that can be used to create RadRibbonButtons. My problem is that I am seeing an extra separator after each RadRibbonGroup and I'm not sure why. If I try to create my own template for the RadRibbonGroup this extra separator goes away but I'd prefer to not have to do this. I've attached an image of what I'm seeing. What suggestions are there to get rid of this separator?

 

Here is the xaml in question:

<telerik:RadRibbonTab Header="Dynamic Display" x:Name="DisplayMenu" ItemsSource="{Binding RelativeSource={RelativeSource AncestorType={x:Type local:RibbonViewContainer}}, Path=DisplayList}">
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <telerik:RadRibbonGroup Header="Test Header" ItemsSource="{Binding List}" >

                <ItemsControl.ItemTemplate>
                    <DataTemplate>
                        <telerik:RadRibbonButton Size="{Binding Size}"
                                                         Text="Test Text"
                                                         Command="{Binding}"
                                                         CommandParameter="{Binding Text}"
                                                         LargeImage="{Binding Image}"
                                                         ToolTip="{Binding Tooltip}"
                                                         ClickMode="Press"/>
                    </DataTemplate>
                </ItemsControl.ItemTemplate>


            </telerik:RadRibbonGroup>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
</telerik:RadRibbonTab>

Giuliano
Top achievements
Rank 1
 updated question on 18 Aug 2023
1 answer
44 views

Hello,

i have a problem with the radRichTextBox, when using .docx files generated with the Telerik Report Designer. (Screenshots attached)

If I create the document by myself in word, the header will be displayed correctly in the radRichTextBox (with RadRibbon).

The telerik control seems to have problems with the table structure inside of the header, as well as hyperlinks that were generated with telerik report Designer.

Does anyone know a solution?

 

 

Dimitar
Telerik team
 answered on 29 Jun 2023
1 answer
38 views

Hi 

Current scenario I am trying to fix is we are wanting to make use of the minimization feature, but disable the double click toggling the minimization. Limiting the minimization toggle to only the Minimize button (or a custom context menu). 

I have tried using the PreviewMouseDoubleClick event which works at a first glance, however it ends up being that a triple click will now minimize. 
Other less successful attempts are disabling minimization and only enable it before the ribbon would be minimized or un minimized. This would mean more control over when the ribbon is minimized but would require more effort in getting all aspects of the minimization working. 

Any assistance would be appreciated. It doesnt feel like too complicated of a problem but struggling with it none the less 

Martin Ivanov
Telerik team
 answered on 18 Apr 2023
0 answers
74 views

There are images for the ribbon for open, save, etc, and I was wondering if I'm allowed to use them...

 

BENN
Top achievements
Rank 1
 asked on 01 Feb 2023
1 answer
66 views

I am trying to implement function similar to a Acount info in Visual Studio in my App build On RibbonWindow/RibbonView(WPF).

Somethink like this:

Controls do not get focus if the RibbonWindow is not Maximzed. If it is Maximzed they get focus only if mouse enters from bottom side.

Here is small reproducer .

Do I miss some setting in RibnbonWindow/RibbonView? Is it Posible with Telerik Framework?   

 

Stenly
Telerik team
 answered on 30 Aug 2022
1 answer
429 views

Hi

 

I've setup a simple project using a RadRibbonWindow with a ribbon and a few controls. I'm trying to toggle between Light and Dark themes using the StyleManager which is working for the controls but not the Window (Title bar etc).

 

I've gone through a few articles including this one and threads on the forum including this one. Unfortunately I can't get the Window to change theme. Any help would be much appreciated.

 

Thanks Miles

Vicky
Telerik team
 updated answer on 27 Jun 2022
1 answer
165 views

Hi,

I just created a RadRibbonWindow in my application, each time I called this window,the program was interupted. 

Picture of exception is in attachment.

 

These are my codes in xaml:

<telerik:RadRibbonWindow x:Class="AutoTerminalFunction.Views.RadRibbonTest"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="RadRibbonTest" 
        Width="525" 
        Height="350" 
        IsTitleVisible="True">
   <Grid>
        <telerik:RadRibbonView Title="RibbonView Title" ApplicationName="My Application">
            <telerik:RadRibbonView.QuickAccessToolBar>
                <telerik:QuickAccessToolBar>
                    <telerik:RadRibbonButton Text="Option 1" />
                </telerik:QuickAccessToolBar>
            </telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:RadRibbonTab Header="Home">
                <telerik:RadRibbonGroup Header="Clipboard">
                    <telerik:RadRibbonSplitButton Size="Large" 
                                                  Text="Paste" 
                                                  telerik:ScreenTip.Description="Paste the contents the Clipboard." 
                                                  telerik:ScreenTip.Title="Paste(Ctrl+V)">
                        <telerik:RadRibbonSplitButton.DropDownContent>
                            <telerik:RadContextMenu BorderThickness="0">
                                <telerik:RadMenuItem Header="Paste" />
                                <telerik:RadMenuItem Header="Paste Form" />
                            </telerik:RadContextMenu>
                        </telerik:RadRibbonSplitButton.DropDownContent>
                    </telerik:RadRibbonSplitButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
            <telerik:RadRibbonTab Header="View" />
        </telerik:RadRibbonView>
    </Grid>
</telerik:RadRibbonWindow> 

 

Backstage codes are original.

 

Does anyone know what causes this problem?I've tried everything I know,like remove and re-referencingTelerik.WIndows.Controls.Input.dll.

Thanks alot!

Martin Ivanov
Telerik team
 answered on 17 Jun 2022
2 answers
361 views

Is there a way to use SVG/XAML (vector) icons in ApplicationButtonImageSource  and in the RadRibbonBackstageItem entries ?

I am able to set the Icon field in RadContextMenu to <Path  Data="....Vector info..."/> and use vector graphics - would like to do the same for the icons in the RibbonView.

Your help is much appreciated.

Priya
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 15 Jun 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?