Telerik Forums
UI for WPF Forum
1 answer
155 views

I have RadBarcodeQR and I want to keep the white space outside the BarCode the same in all text.

Would appreciate help

<Grid>
        <StackPanel VerticalAlignment="Center">
            <TextBox Text="{Binding QrCode, UpdateSourceTrigger=PropertyChanged}" Width="300" Height="30" Margin="20"/>
            <telerik:RadBarcodeQR
                Height="100" 
                Width="100"
                Text="{Binding QrCode, UpdateSourceTrigger=PropertyChanged}"
                Foreground="Black"
                UseLayoutRounding="True">
                <telerik:RadBarcodeQR.Style>
                    <Style TargetType="telerik:RadBarcodeQR">
                        <Setter Property="Template">
                            <Setter.Value>
                                <ControlTemplate TargetType="telerik:RadBarcodeQR">
                                    <Grid 
                                        x:Name="PART_RadBarcodeQR" 
                                        Background="White" 
                                        Margin="15">
                                        <Image x:Name="ImageQrCode" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    </Grid>
                                </ControlTemplate>
                            </Setter.Value>
                        </Setter>
                    </Style>
                </telerik:RadBarcodeQR.Style>
            </telerik:RadBarcodeQR>
        </StackPanel>
    </Grid>

 

This is what it looks like with an empty string:

 

 

This is what it looks like with the string: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

 

Dilyan Traykov
Telerik team
 answered on 24 Mar 2022
1 answer
325 views

Hi all,

I'm having trouble working out how to increase the thumb slide animation speed. I can't find any information online about the toggle switch animation. Any help is appreciated.

Thanks

<Style TargetType="telerik:RadToggleSwitchButton">
    <Setter Property="telerik:AnimationManager.AnimationSelector">
        <Setter.Value>
            <telerik:AnimationSelector>
                <telerik:SlideAnimation SpeedRatio="2.0"/>
            </telerik:AnimationSelector>
        </Setter.Value>
    </Setter>
</Style>
Vicky
Telerik team
 answered on 24 Mar 2022
0 answers
106 views

The RadTreeView is showing as gray text on white background. We are using implicit styles. Styles appear to show for other controls in project.

 

Telerik Dlls referenced in project:

ResourceDictionaries merged in App.xaml:

Style referenced in RadTreeView element tag:

Will
Top achievements
Rank 1
Iron
 asked on 23 Mar 2022
1 answer
84 views

Hi,

is it possible to change the opacity of the RadRibbonView GroupHeader? We want to increase the readability of the group header and we can't find any sources on how to increase the opacity.

Regards

Jan

Dilyan Traykov
Telerik team
 answered on 23 Mar 2022
1 answer
224 views

Generating the file in temp folder and given the path to the hyperlink text in RadPdfViewer. While clicking the hyperlink, the pdf file does not open. 

We are doing the same process for txt , image and etc.. It is working fine for other type of files.

Please refer the below image.

1. Image file - while clicking the hyperlink the image file directly open(file is in temp folder)

2. Pdf file - while clicking the hyperlink the pdf file does not open ( file is in temp folder)

 

 

Please suggest. how to handle this?

 

 

Tanya
Telerik team
 answered on 23 Mar 2022
1 answer
221 views

Text wrap for radcombobox in WPF which has AllowMultipleSelection:

 

<telerik:RadComboBox Grid.Column="4" Width="300" MaxWidth="300" AllowMultipleSelection="True" SelectedItem="{Binding IngredientSourceSelectedItem}" ItemsSource="{Binding IngredientSource, Mode=TwoWay }" Text="{Binding Ingredients, Mode=TwoWay}"
 IsEnabled="{Binding IsReadOnlyIngredientSource, Converter={StaticResource ReadOnlyToEnabledConverter}}" VerticalAlignment="Stretch">
</telerik:RadComboBox>

 

need like this: if it overflows it should be shown in next line.

Stenly
Telerik team
 answered on 22 Mar 2022
1 answer
219 views
I'm currently updating a project that has a mix of Telerik RadGrid and older Ingragistics grids. I'm going to be normalizing all the controls and I'm trying to decide if I should go with only VS controls or if using a controlset like Telerik is still a good practice. The cost of the Telerik controls isn't an issue and overall I'm happy https://xender.vip/ with the functionality they provide. If I stick with Telerik I'm also considering converting all my standard controls to their Telerik counterparts.
gorge
Top achievements
Rank 1
 updated question on 21 Mar 2022
0 answers
84 views

Hello,

Using the information at https://docs.telerik.com/devtools/wpf/controls/radwindow/how-to/use-radwindow-as-user-control works well for using the RadWindow with Prism.

However, it appears that the window is not using the color variation of the theme. I would like to switch dynamically from Light to Dark, but have been unsuccessful.

In the App.xaml.cs in OnStartup, the first line is:

Office2019Palette.LoadPreset(Office2019Palette.ColorVariation.Dark);

Other controls change to this theme, but not the Main Window.

Any suggestions?

Thank you!

Jeremy
Top achievements
Rank 1
 asked on 20 Mar 2022
1 answer
491 views

Hi everyone,

I downloaded yerstaday the testing framework (https://www.telerik.com/try/telerik-testing-framework).

And tried to use it today with a dotnet 6 wpf application and a dotnet 6 xunit test project and it seams that the testing framework has compatibility issues.

Can someone confirm it ?

Plamen Mitrev
Telerik team
 answered on 18 Mar 2022
1 answer
102 views

Output window just blank:

<telerik:RadTreeView> <telerik:RadTreeView.Items> <telerik:RadTreeViewItem Header="Football" /> <telerik:RadTreeViewItem Header="Tennis" /> <telerik:RadTreeViewItem Header="Cycling" /> <telerik:RadTreeViewItem Header="Basketball" /> </telerik:RadTreeView.Items> </telerik:RadTreeView

Did add "standard" TreeView control and it is showing fine.

What i'm missing in Getting Started Sample?

https://docs.telerik.com/devtools/wpf/controls/radtreeview/getting-started/getting-started

Thank you,

Gennady

Martin Ivanov
Telerik team
 answered on 16 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?