Telerik Forums
UI for WPF Forum
3 answers
320 views

Brief description of the issue.  I have several programs which are all plugins to the same parent application.  Because the style dictionary themes are singletons changing them for one changes them for all of the main application including all plugins (all mine plus any other users that may be using it).  Right now I'm doing things like this:

            FluentPalette.Palette.AccentColor = Color.FromRgb(86, 185, 154);
            FluentPalette.Palette.AccentMouseOverColor = Color.FromRgb(108, 108, 108);

This works fine, but it affects anything using the Fluent theme with those colors.  If any of my other plugins want to use different theme colors (spoiler alert, they do) I can't get it to do both.  

That's the issue.  Right now I have it set up to use implicit themes and I merge the theme dictionaries from the theme dll into a common resource dictionary in each plugin and then any override styles that are necessary for each plugin are in that dictionary and that dictionary is merged into any necessary user controls in the plugin.  This effectively gives me one place for each plugin to manage the Telrik stuff and separates them from each other all except the main color overrides show above.

So the question is; is there a way to set these colors only in a specific resource dictionary?  Instead of setting these in code behind like I've shown, can I have a specific dictionary say that when it's merged it that the 'Accent Color' key is green or red or whatever it should be for that dictionary and have it different for another dictionary?

Dilyan Traykov
Telerik team
 answered on 30 Oct 2020
1 answer
84 views
Is it possible to have more than one RadScheduleView in a project with different styles?
Dinko | Tech Support Engineer
Telerik team
 answered on 30 Oct 2020
4 answers
214 views

Hi,

I'm battling with an issue where the ImageAdornerUi is not visible when viewing in a WPF window in a VSTO project.  I can create a standalone WPF app and the adorner is visible, but in the VSTO project with the same code, it's not.  I'm assuming that this is a resource resolution issue, but I coming up short on finding the actual problem. 

I'm attaching two images that show the difference between the two project types, and also have a bare bones VSTO (Excel) project that I can send if that would be helpful.

I don't believe this is just an issue with ImageAdornerUi as other UI elements such as the Insert Hyperlink and Font dialogs also fail to appear.

Are you able to shed any light on what I'm doing wrong here please?

Many thanks

John

Tanya
Telerik team
 answered on 29 Oct 2020
2 answers
161 views

This is a small issue and it might just be my issue with a rouge style somewhere. 

If I add a 'RadRibbonDropDownButton', that has a RadGlyph as it's image then letters with descenders like 'g' and 'j' get their tails cropped ever so slightly. 

It doesn't happen with the 'RadRibbonSplitButton' and I have not tired other themes.  It's a very minor issue but it does catch the eye when you are reading buttons on the ribbon. 

Screenshots attached of the issue and zoomed in 400% , notice the tails j and g's of the dropdown button on the right. 

Thanks,

Richard

 

Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 29 Oct 2020
2 answers
240 views

When pasting formatted text to RadRichTextBox the Paste Options popup appears, allowing you to choose if you want to keep formatting/style or not.

 

That part is fine.

 

However...

When I'm opening the Past Options (clicking on Ctrl dropdown) and after open some other applications over RichTextBox, I see that the Past Options popup remains on top of it.

Is there any property like ShouldCloseFilteringPopupOnKeyboardFocusChanged, which I can use to close Past Options when the focus changed to another window?

---

 

From the image it's visible that Past Options popup (WPF) is appearing over browser page.

Arsen
Top achievements
Rank 1
Veteran
 answered on 29 Oct 2020
5 answers
187 views

Dear telerik developers,
I have encountered a weird behavior in your RadGridView for wpf control. Whan SelectionMode is set to Extended and SelectionUnit is set to Cell, you have the feature to select many contiguous cells in drag-ish way (you click with the left button on a cell and drag over to another cell to have a square selection). The problem arises when you start dragging on a cell and move the mouse pointer over the header of the column: what you see is that all the upper cells get selected when the pointer get over every single them but when you reach the header the rows of the grid start scrolling down the view, as shown in the attached file. It happens also if you get over the group panel. You have to scroll with the mouse wheel to see the columns again if they went out of sight and when you resize the window the rows get back in the correct position.
Thanks

Warmest,
Nazario

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Oct 2020
3 answers
131 views

As the title describes, I have a user control with a RadDocking element, then a RadDocking.DocumentHost.

Any element inside the DocumentHost is not selectable in the designer, also the outline view only shows elements until the RadDocking element not the DocumentHost inside it.

If I don't use the DocumentHost  and place RadSplitContainer directly in the RadDocking selecting and outline is working as expected.

 

I use the last version I have access to: Version 2018.1.430

 

Vladimir Stoyanov
Telerik team
 answered on 28 Oct 2020
9 answers
333 views

Hello

How can I implement the following behaviour?

When a user clicks the header of a radpane with the mouse wheel then the radpane should close.

(same behaviour when you click a tabheader in Internet Explorer)

Thanks!

Victor
Top achievements
Rank 1
 answered on 27 Oct 2020
3 answers
3.6K+ views

Hi

Where can i change the text (content) color of a RadNavigationViewItem?

 

I figured out how to change color of everything else except the text color.

I tried to set foreground color RadNavigationView and RadNavigationViewItem

and i cannot see a style i could set to fit my needs.

 

Please let me know where i can set the color or if i am just blind :)

Thank you in advanced!

 

Cheers,

Mats

Vicky
Telerik team
 answered on 23 Oct 2020
2 answers
339 views

I simply dragged the RadComboBox control from the Toolbox under "Telerik UI for WPF - Input 2020 R3" and dropped it into the designer.  This created the entry:

<telerik:RadComboBox/>

I did nothing else, build and execute project and when this Window comes to load I get a runtime error:

System.Windows.Markup.XamlParseException
  HResult=0x80131501
  Message=Could not load file or assembly 'Telerik.Windows.Controls, Version=2020.3.1020.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
  Source=PresentationFramework
  StackTrace:
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at TreeScapes.MainWindow.InitializeComponent() in D:\Visual Studio Projects\TreeScapes\MainWindow.xaml:line 1

Inner Exception 1:
FileLoadException: Could not load file or assembly 'Telerik.Windows.Controls, Version=2020.3.1020.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

If I remove the <telerik:RadComboBox/> line, execution works.

I must admit, my success rate at using Telerik UI for WPF is pretty low, I've spent many hours researching really basic problems and hoops to jump thru to get things to "sorta" work.  I don't know what the object is with Telerik UI for WPF, but as it stands right now, it's NOT improving productivity, just the opposite.  

I'm at the point where I'll just go back to using all the default VS 2019 Microsoft controls because they just work.  My Telerik renewal is coming up in Nov and I honestly can't justify renewing.

Rob.

Martin Ivanov
Telerik team
 answered on 23 Oct 2020
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?