Telerik Forums
UI for WPF Forum
1 answer
111 views

Hi,
I would like to use windows11 theme in my application, but when apply the theme every buttons in the toolbars are loaded of large padding and large margin.
Since I don't like this layout I can change it setting properties inside every button, but if I try to setting a style it is ignored.
I think that toolbar apply a style and overwrite my one.

Can I modify the layout without change every button in my application?

Thank you

Luigi

Stenly
Telerik team
 answered on 17 Apr 2023
1 answer
122 views

HI Team,

I wanted to override the theme of RadDocking Control.

I'm using DocumentHost and RadDocumentPane with properties IsDockable="False" CanFloat="False"  CanUserClose="False" CanUserPin="False" but after that in the application Border is coming with thickness "2" .

I used snoop tool where if I set this thickness to 0 then border goes away but when I make changes in RadDockingDocument Style BorderLayer3 control to 0 it doesn't work .

Please help me to remove the border in case we use DocumentHost.

 <telerik:RadDocking.DocumentHost>
                <telerik:RadSplitContainer Margin="0,0,0,0" BorderThickness="0" Padding="0">
                    <telerik:RadPaneGroup BorderThickness="0" >
                        <telerik:RadDocumentPane Style="{StaticResource LayoutRadDocument}" PaneHeaderVisibility="Collapsed"  telerik:RadDocking.SerializationTag="AnotherDocPane" Background="Transparent" Margin="0,0,0,0" BorderThickness="0" Padding="0" Header="DocPane" Visibility="Collapsed" IsDockable="False" CanFloat="False"  ContextMenuTemplate="{x:Null}"  CanUserClose="False" CanUserPin="False">
                            <Grid x:Name="RighHandColumn">

Please look into the SS.

 

Stenly
Telerik team
 answered on 17 Apr 2023
0 answers
65 views
Hello!
I am using Telerik GridView control in WPF application.
I wanted to use the SelectedItems Binding for GridView according article "SelectedItemsBehavior fixes for crashes, changing DataContext" at https://www.telerik.com/forums/selecteditemsbehavior-fixes-for-crashes-changing-datacontext.
I downloaded the example from the link from github, but I had a problem: the downloaded example does not work...
After starting the programm, when trying to select a row, the application throws the error "cannot change ObservableCollection during a CollectionChanged event".
In the comments, one of the users wrote about this error, to which the author replied that he had updated the code on the github and now this error has been fixed. But I still get an error. How do I fix the "MySelectedItemsBindingBehavior" class to make it work?
Vlad
Top achievements
Rank 1
 asked on 14 Apr 2023
1 answer
165 views
Is there a way to use Telerik Document Processing Libraries in a .NET 6 WPF project?
Yoan
Telerik team
 answered on 10 Apr 2023
1 answer
114 views

Hi Team,

We are using RadPdfViewer in .net 6 WPF application. It is failing to load 3D PDF content. We found the very old thread about this feature from around 2013 and it says this feature is not supported. Is there any option to show the 3D content in latest PDF control or any plans to release this functionality in near future ?

 

Thanks in Advance.

Peshito
Telerik team
 answered on 10 Apr 2023
0 answers
230 views

Hi. 

I've tried to use RadDateTimePicker inside RadGridView, but datepicket is not showing (examle from: WPF DateTimePicker - How to use RadDateTimePicker in a Grid - Telerik UI for WPF).  Tried to add control outside grid but without any effect. 

Project is referenced to Telerik.Windows.Data.dll, Telerik.Windows.ControlsTelerik.Windows.Controls.InputTelerik.Windows.Controls.GridView...


<Window x:Class="Test"
        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="Test" Height="450" Width="800">
    <Grid>
    
        <telerik:RadDateTimePicker                                 
                                InputMode="DatePicker"
                                telerik:DropDownButtonExtensions.FocusContentOnOpen="True"                              
                                SelectedValue="{Binding Established, Mode=TwoWay}"/>
        
        <telerik:RadGridView Name="radGridView" 
                     AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Name" 
                                    DataMemberBinding="{Binding Name}" />
                <telerik:GridViewDataColumn Header="Established" 
                                    DataMemberBinding="{Binding Established}">
                    <telerik:GridViewDataColumn.CellEditTemplate>
                        <DataTemplate>
                            <telerik:RadDateTimePicker                                 
                                InputMode="DatePicker"
                                telerik:DropDownButtonExtensions.FocusContentOnOpen="True"
                              
                                SelectedValue="{Binding Established, Mode=TwoWay}"/>
                        </DataTemplate>
                    </telerik:GridViewDataColumn.CellEditTemplate>
                </telerik:GridViewDataColumn>
                <telerik:GridViewDataColumn Header="Stadium" 
                                    DataMemberBinding="{Binding StadiumCapacity}" 
                                    DataFormatString="{}{0:N0}" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>

Michał
Top achievements
Rank 1
 asked on 06 Apr 2023
1 answer
108 views

I'm having trouble entering Korean in the RichTextBox demo.

This issue seems to be happening in the latest version of Windows 11. (22H2 22621.1413)

This is not a problem with WPF native RichTextBox controls.

 

Vladislav
Telerik team
 answered on 06 Apr 2023
0 answers
151 views

Hello, everyone,

I found different acts of ToolTip in different computers, the tooltip will drift to the left a little in some computers. Do you have any clue about the reason? How can we solve this? Is there any configuration of computer system we should adjust?

Lily
Top achievements
Rank 1
 updated question on 06 Apr 2023
0 answers
92 views

I'm having trouble entering Korean in the RichTextBox demo.

I have a problem with the latest Windows 11 version (probably with the latest version of Microfost Korean IME), [22H2 22621.1413]

This is not a problem with the WPF default richtextbox control.

 

Is there a workaround?

kim
Top achievements
Rank 1
 asked on 05 Apr 2023
1 answer
129 views

Hi,

In my application I used windows 8 theme but in some controls I used office_blue. Now I need to change color patterns of my application and I choose a green main color for windows 8 theme, but I can't change the controls with office_blue because it is not in the list of themes in ColorThemeGenerator. Maybe office_blue comes from office theme, but it is not in the list too.  I choose the office styles because of not flat bar in panel bar control.

Thank you

Luigi

Stenly
Telerik team
 answered on 04 Apr 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?