Telerik Forums
UI for WPF Forum
1 answer
147 views

Hi Support team,

even if animation is disabled, the expander is still showing some sort of animation when Windows 11 theme is applied.

This can be reproduced with Telerik samples.

Is there a way to remove that animation entirely so that the content gets displayed immidiateley ?

François

Dinko
Telerik team
 answered on 24 Aug 2023
0 answers
173 views

Hey,

I'm looking to have a RadSyntaxEditor's horizontal scroll bar react to a trackpad or mouse wheel input.

Vertical scrolling works just fine, so I can hide the verticalscrollbar but I need to select the horizontal one to move horizontally.

Is there a way to set it for horizontal as well? Did I miss a setting somewhere?

I tried this solution : Horizontal Scrolling w/ Mouse Wheel/Trackpad in UI for WPF | Telerik Forums but it didn't work for me.

I don't know if it's because this solution is in a window and I'm in an usercontrol.

Thanks in advance !

Florian
Top achievements
Rank 1
Iron
Iron
 asked on 24 Aug 2023
7 answers
568 views

Hi,

I wanted to use "search as you type" functionality (http://docs.telerik.com/devtools/wpf/controls/radgridview/features/search-as-you-type.html) in a TreeListView, but looks like it doesn't work for it even though it's inherited from GridView.

I tried it on a new blank project and confirmed my suspicion:

<telerik:RadTreeListView ShowSearchPanel="True"/>

doesn't show a search panel, but 

<telerik:RadGridView ShowSearchPanel="True"/>

works without any issues.

Is this intended behaviour, or can we hope for a fix?

Thank you.

Joel
Top achievements
Rank 1
Iron
 answered on 24 Aug 2023
2 answers
151 views

Hello, 

I would like to remove all messages of radchat after inactivity.

I don't find how to remove all messages. Could you help me ?

Thanks

Thomas

Thomas
Top achievements
Rank 1
Iron
 answered on 22 Aug 2023
1 answer
350 views

Hello,

I followed your solution on this link to apply a string format on the Header of the column in the RadGridView:

https://www.telerik.com/forums/stringformat-not-working-for-gridviewdatacolumn-header

With this solution, if the bound property has a value "test", in the TextBlock.Text inside the header I will show "test 123" ("123" came from the StringFormat).

This solution works but I face a bug when I use it with another functionality. I have implemented a button that on click opens a ListBox on a ContextMenu to show/hide the RadGridViewColumns). See the following link:

https://www.telerik.com/forums/add-button-to-radgridview-column-header

The RadGridView.Columns are bound to the ListBox.

The ListBoxItem.Template has a Checkbox where the IsChecked property is bound to the Column visibility state and the Content property is bound to the Column header. 

If the Listbox is shown (by click on a button, the ListBox is displayed on a ContextMenu), the Header template is dissapeared from the GridViewDataColumn.Header and it is shown on the ListBoxItem. It likes the template is "moved".

If I put the DataTemplate on a resource with x:Shared=False then it still dissapears from the header and it appears twice on the ListBoxItem.

Note:

1. I tried to use the Header without a DataTemplate but I can't use a converter to append the "123" because I already have one converter that can't have other functionality.

2. My current workaround is to do the converter code and the text append on the code behind of the xaml. Then I can bind the xaml.cs String property to the GridViewDataColumn.Header and remove the DataTemplate. The problem with this solution is that I need to do this on each xaml, and cannot be set on a style. In addition, I don't want to use code behind at all.

3. Any workaround without using the DataTemplate will work for me. I can "live" with that problem if you help me solving this specific case because I usually don't use DataTemplates on headers at all.

4. If you can look at your code, I would appreciate if you can think how the DataTemplate is dissapeared. I think that you have a bug somewhere because a Binding should not remove a Template from your control.

The bug is the same as described in this post (screenshot attached)

https://www.telerik.com/forums/gridview-columns-headers-disappearing-after-binding-to-controlpanel

I need a workaround to display the complete text without DataTemplate, because the solution here of adding DataTemplate for all columns of the application is not aceptable. Maybe there is a way to trigger the Context on the ListBoxItem and changed the binding according to the content type?

Thank you,

Alex.

Martin Ivanov
Telerik team
 answered on 21 Aug 2023
0 answers
86 views
I have 2  radcartesianchart
one with label on the box axis
and the 2nd one is without the labels at all

I want to the top chart(the one without label) will the start after the labels end (on the y-axis) in the top chart
the label on the bottom chart are not fixed size and can be changed so doing something like fixed width or margin wont do the trick

I was trying to follow the guidelines from this questions ,but still it didn't worked for me
Ofir
Top achievements
Rank 1
 asked on 21 Aug 2023
0 answers
128 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
Iron
 updated question on 18 Aug 2023
0 answers
79 views

Hi everybody.

Does Anyone have any idea why the Radgridview is much faster when run the app through Visual Studio? it's much slower when run the app locally specially when scrolling with large amount of data.

 

Thanks

Dariush
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 17 Aug 2023
1 answer
109 views
I'm using a RadFilePathPicker to select a file. This gives a choice of dialogs to use via the DialogType property. Each of these dialog types have the LoadDrivesInBackground property but this is not available at the RadFilePathPicker level. Is it possible and if so how can I set this property at the RadFilePathPicker control level so that whichever dialog I use has this property set? 
Petar Mladenov
Telerik team
 answered on 16 Aug 2023
1 answer
153 views

I'm using the RadSlider control to display a RangeSliderThumb (to define a range of values) and a regular SliderThumb (to define one value within that range). To be able to differentiate the regular SliderThumb i applied some style to it.

We are using PRISM and i noticed the style of the regular SliderThumb is reset when i navigate to the page a second time. None of the other styles are affected by navigating to the page multiple times.

I've attached a project with a stripped down version of my problem. Pressing the buttons navigates to the respective pages.

Screenshot after first navigation (style is applied as expected):

Screenshot after second navigation (style of regular SliderThumb is reset):

 

Any ideas on how to fix that behavior?

 

Greetings

Josh

Martin Ivanov
Telerik team
 answered on 16 Aug 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?