Telerik Forums
UI for WPF Forum
1 answer
8 views

Hi,

in wpf, in telerik:RadGridView I can not change width of the RowIndicator column (the very first one where the arrow points at the selected row.). There is only visibility property, but nothing else.

Is there a way to change it?

thank you,

J.

Stenly
Telerik team
 answered on 04 Aug 2022
1 answer
22 views

Hello Team,

I have faced one issue in combbox item template text is not binding after selected item from the combobox.

NOTE; IsEditable field is set to true then the value is not binding.

if its false then its working fine.

I have attached the screenshot for your reference.

Kindly help me to resolve this.

Thanks,

Raja.

Stenly
Telerik team
 answered on 04 Aug 2022
1 answer
4 views

I have lots of windows within my app that use the radgridview. I'm getting random errors such as the attached. Your help would be appreciated. I'm using the latest version: 2022.2.621.60.

Many thanks

Rob

- Stacktrace Frames: ------------------------------------------------------------------------------
* Frame (76): TryCatchWhen | System.Windows.Threading.ExceptionWrapper
* Frame (75): InternalRealCall | System.Windows.Threading.ExceptionWrapper
* Frame (74): DispatcherCallbackOperation | MS.Win32.HwndSubclass
* Frame (73): WndProc | MS.Win32.HwndWrapper
* Frame (72): InputFilterMessage | System.Windows.Interop.HwndSource
* Frame (71): FilterMessage | System.Windows.Interop.HwndMouseInputProvider
* Frame (70): ReportInput | System.Windows.Interop.HwndMouseInputProvider
* Frame (69): ReportInput | System.Windows.Input.InputProviderSite
* Frame (68): ProcessInput | System.Windows.Input.InputManager
* Frame (67): ProcessStagingArea | System.Windows.Input.InputManager
* Frame (66): RaiseTrustedEvent | System.Windows.UIElement
* Frame (65): RaiseEventImpl | System.Windows.UIElement
* Frame (64): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (63): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (62): InvokeHandler | System.Windows.RoutedEventArgs
* Frame (61): InvokeEventHandler | System.Windows.Input.MouseButtonEventArgs
* Frame (60): OnMouseUpThunk | System.Windows.UIElement
* Frame (59): ReRaiseEventAs | System.Windows.UIElement
* Frame (58): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (57): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (56): InvokeHandler | System.Windows.RoutedEventArgs
* Frame (55): InvokeEventHandler | System.Windows.Input.MouseButtonEventArgs
* Frame (54): OnMouseLeftButtonUpThunk | System.Windows.UIElement
* Frame (53): OnMouseLeftButtonUp | System.Windows.Controls.Primitives.ButtonBase
* Frame (52): OnClick | System.Windows.Controls.Button
* Frame (51): OnClick | System.Windows.Controls.Primitives.ButtonBase
* Frame (50): RaiseEvent | System.Windows.UIElement
* Frame (49): RaiseEventImpl | System.Windows.UIElement
* Frame (48): InvokeHandlersImpl | System.Windows.EventRoute
* Frame (47): InvokeHandler | System.Windows.RoutedEventHandlerInfo
* Frame (46): SetValue | System.Windows.DependencyObject
* Frame (45): SetValueCommon | System.Windows.DependencyObject
* Frame (44): UpdateEffectiveValue | System.Windows.DependencyObject
* Frame (43): NotifyPropertyChange | System.Windows.DependencyObject
* Frame (42): OnPropertyChanged | System.Windows.FrameworkElement
* Frame (41): OnPropertyChanged | System.Windows.DependencyObject
* Frame (40): SetValue | System.Windows.DependencyObject
* Frame (39): SetValueCommon | System.Windows.DependencyObject
* Frame (38): UpdateEffectiveValue | System.Windows.DependencyObject
* Frame (37): NotifyPropertyChange | System.Windows.DependencyObject
* Frame (36): OnPropertyChanged | System.Windows.FrameworkElement
* Frame (35): OnPropertyChanged | System.Windows.DependencyObject
* Frame (34): OnIsOpenChanged | System.Windows.Controls.Primitives.Popup
* Frame (33): CreateWindow | System.Windows.Controls.Primitives.Popup
* Frame (32): SetRootVisualToPopupRoot | System.Windows.Controls.Primitives.Popup
* Frame (31): set_RootVisual | System.Windows.Interop.HwndSource
* Frame (30): set_RootVisualInternal | System.Windows.Interop.HwndSource
* Frame (29): SetLayoutSize | System.Windows.Interop.HwndSource
* Frame (28): Measure | System.Windows.UIElement
* Frame (27): MeasureCore | System.Windows.FrameworkElement
* Frame (26): MeasureOverride | System.Windows.Controls.Primitives.PopupRoot
* Frame (25): Measure | System.Windows.UIElement
* Frame (24): MeasureCore | System.Windows.FrameworkElement
* Frame (23): MeasureOverride | System.Windows.Controls.Decorator
* Frame (22): Measure | System.Windows.UIElement
* Frame (21): MeasureCore | System.Windows.FrameworkElement
* Frame (20): MeasureOverride | System.Windows.Documents.AdornerDecorator
* Frame (19): MeasureOverride | System.Windows.Controls.Decorator
* Frame (18): Measure | System.Windows.UIElement
* Frame (17): MeasureCore | System.Windows.FrameworkElement
* Frame (16): MeasureOverride | System.Windows.Controls.Control
* Frame (15): Measure | System.Windows.UIElement
* Frame (14): MeasureCore | System.Windows.FrameworkElement
* Frame (13): MeasureOverride | System.Windows.Controls.ContentPresenter
* Frame (12): MeasureElementWithSingleChild | MS.Internal.Helper
* Frame (11): Measure | System.Windows.UIElement
* Frame (10): MeasureCore | System.Windows.FrameworkElement
* Frame (9): MeasureOverride | System.Windows.Controls.Border
* Frame (8): Measure | System.Windows.UIElement
* Frame (7): MeasureCore | System.Windows.FrameworkElement
* Frame (6): MeasureOverride | System.Windows.Controls.ContentPresenter
* Frame (5): MeasureElementWithSingleChild | MS.Internal.Helper
* Frame (4): Measure | System.Windows.UIElement
* Frame (3): MeasureCore | System.Windows.FrameworkElement
* Frame (2): ApplyTemplate | System.Windows.FrameworkElement
* Frame (1): OnApplyTemplate | Telerik.Windows.Controls.GridView.FilteringControl
* Frame (0): InitializeDistinctValuesFilterClearButton | Telerik.Windows.Controls.GridView.FilteringControl
- Stacktrace Frames -------------------------------------------------------------------------------
- Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Controls.GridView.FilteringControl.InitializeDistinctValuesFilterClearButton()
   at Telerik.Windows.Controls.GridView.FilteringControl.OnApplyTemplate()
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Border.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint)
   at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Control.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.Documents.AdornerDecorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Decorator.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Controls.Primitives.PopupRoot.MeasureOverride(Size constraint)
   at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
   at System.Windows.UIElement.Measure(Size availableSize)
   at System.Windows.Interop.HwndSource.SetLayoutSize()
   at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
   at System.Windows.Controls.Primitives.Popup.SetRootVisualToPopupRoot()
   at System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean asyncCall)
   at System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at System.Windows.Controls.Primitives.ButtonBase.OnClick()
   at System.Windows.Controls.Button.OnClick()
   at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
- Exception Inner:

 

Dilyan Traykov
Telerik team
 answered on 02 Aug 2022
1 answer
7 views

I try to save the map to the image like this:

    private MemoryStream LocationsToImage(ICollection<LocationType> locationCollection, Size size)
    {
        var map = new RadMap
        {
            Language = XmlLanguage.GetLanguage(CultureInfo.DefaultThreadCurrentCulture.Name),
            Width = size.Width,
            Height = size.Height
        };
        var layer = new InformationLayer();
        map.Items.Add(layer);
        MapHelper.DrawLocations(map, layer, locationCollection);

        //print 
        map.Arrange(new Rect(size));
        map.Measure(size);
        map.Provider = MapProviderFactory.Create();
        using var ms = new MemoryStream();
        map.ExportToImage(@"C:\New Test.png", true);
        return ms;
    }

 

And the result I get:

 

But if I use for a map that is displayed in the UI it will be printed properly

 

But also regarding a map that is not displayed in the UI and was created here (as in the code above) I can use PrintVisual and print it properly.

 

    private void LocationsToImage(ICollection<LocationType> locationCollection, Size size)
    {
        var map = new RadMap
        {
            Language = XmlLanguage.GetLanguage(CultureInfo.DefaultThreadCurrentCulture.Name),
            Width = size.Width,
            Height = size.Height
        };
        var layer = new InformationLayer();
        map.Items.Add(layer);
        MapHelper.DrawLocations(map, layer, locationCollection);

        //print 
        map.Arrange(new Rect(size));
        map.Measure(size);
        map.Provider = MapProviderFactory.Create();
        var pd = new PrintDialog();
        if (pd.ShowDialog().GetValueOrDefault())
        {
            pd.PrintVisual(map, string.Empty);
        }
    }

 

 

So how can I use ExportToImage for a map that I create in code and not in view?

Martin Ivanov
Telerik team
 answered on 02 Aug 2022
1 answer
12 views

Hello,

Until today, I was using Telerik libraries with the Visual Studio built-in extension. In other words, all the Telerik dlls were placed in a "Lib" folder and the various projects referenced them. Everything was working perfectly.

I would like to use Telerik via NuGet packages.

So I removed all references in my projects, deleted the "Lib" folder, and added the necessary NuGet packages as replacements in each projects.

The application compiles and launches perfectly.

Unfortunately, all texts (on a GridView for example) now appear in English (before, it was in French).

Looking at the "bin/Debug/fr" folder, I see that the Telerik.Windows.Controls.resources.dll file is missing. The file doesn't seem to generate when compiling. If I manually copy the file into this folder, the texts appear in French.

How do I make this happen automatically? I have the impression that the NuGet packages do not contain the resources of the different localization.

Am I doing something wrong or is it a problem with Telerik's NuGet packages?

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 01 Aug 2022
1 answer
23 views

Hi,

when i recently use the image editor with big picture(for example 6000*5000 pixel), after drawing several rectangle using shape tool, it gave me:

System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
   at System.Windows.Media.Imaging.WriteableBitmap.InitFromBitmapSource(BitmapSource source)
   at System.Windows.Media.Imaging.WriteableBitmap..ctor(BitmapSource source)
   at Telerik.Windows.Media.Imaging.RadBitmap..ctor(Int32 width, Int32 height, FrameworkElement element, Boolean measureAndArrange)
   at Telerik.Windows.Media.Imaging.Commands.DrawCommand.Execute(RadBitmap source, Object context)
   at Telerik.Windows.Media.Imaging.History.ImageHistory.Execute(IImageCommand command, Object context)
   at Telerik.Windows.Controls.RadImageEditor.ExecuteCommand(IImageCommand command, Object context)
   at Telerik.Windows.Controls.RadImageEditor.CommitTool(Boolean executeSameToolAfterCommit)
   at Telerik.Windows.Media.Imaging.Tools.DrawToolBase.InvokeEndDraw(Point point)
   at Telerik.Windows.Media.Imaging.Tools.DrawToolBase.DrawingCanvas_MouseLeftButtonUp(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

it seems that related to the history memory to me, based on previous discussion:

https://www.telerik.com/forums/out-of-memory-exception-when-cropping-image

but when i assgin a larger MaximumMemoryBufferSize in the imageeditor, the issue still remained, any suggestions on this?

Martin Ivanov
Telerik team
 answered on 28 Jul 2022
0 answers
8 views

I'm having a requirement to implement Telerik RadRichTextBox in my project. But while trying to implement, the textbox is not displaying. Please find the attached sample project for your reference. Can you please help me to resolve this issue? I've referred below link for the implementation. 

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

Project Name: Telerik_RichTextbox_POC

Barani
Top achievements
Rank 1
 updated question on 28 Jul 2022
1 answer
17 views

How can I change the background of it?

 

Dilyan Traykov
Telerik team
 answered on 25 Jul 2022
1 answer
10 views

I want to change the Foreground of the button when pressed, I was able to do this for MouseOver but not for a pressed button

 

<Style TargetType="telerik:GroupHeaderButton">
    <Setter Property="helpers:ThemeHelper.CheckedBrush" Value="{StaticResource GridView_ItemBackground_Over}"/>
    <Setter Property="helpers:ThemeHelper.MouseOverBrush" Value="{StaticResource ItemBackground_MouseOver}"/>
    <Setter Property="helpers:ThemeHelper.PressedBrush" Value="{StaticResource GridView_ItemBackground_Over}"/>
    <Setter Property="Background" Value="{StaticResource AppointmentItemBackground_UnSelected}"/>
    <Setter Property="Foreground" Value="{StaticResource EditAppointmentTemplateBackGround}"/>
    <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="True">
            <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
        </Trigger>
        <Trigger Property="IsPressed" Value="True">
            <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
        </Trigger>
    </Style.Triggers>
</Style>

 

Although I registered Trigger to IsPressed but it does nothing

 

Stenly
Telerik team
 answered on 22 Jul 2022
2 answers
21 views

   I'm currently running Visual Studio 2022 64-bit, latest version on Windows 11, latest version.  My project is targeting .NET Framework 4.8.  I'm running the latest version of the Telerik Tools for WPF R2 2022 SP1.

   I'm attempting to create a custom implementation of RadWindow by inheriting from it, for example, my base class looks like:

Namespace Windows
    Partial Public Class TBaseRadWindow
        Inherits Telerik.Windows.Controls.RadWindow
        Implements System.ComponentModel.INotifyPropertyChanged, IDisposable
....
  End Class
End Namespace

   When I show my derived Window which comes from this class, I get a tiny, blank RadWindow with no chrome.  Based on my reading, it appears this is caused by NoXAML and the need for the styles to be added to the application's ResourceDictionary.  I'm attempting to follow the instructions from this forum post:  https://www.telerik.com/forums/unable-to-display-a-radwindow
   The forum post says to add these resources to the MergedDictionary this way:

<Application.Resources>
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <ResourceDictionary Source="Themes/System.Windows.xaml" />
            <ResourceDictionary Source="Themes/Telerik.Windows.Controls.xaml" />
            <ResourceDictionary Source="Themes/Telerik.Windows.Controls.Navigation.xaml" />
          </ResourceDictionary.MergedDictionaries>
        <Style TargetType="local:PreferencesView" BasedOn="{StaticResource RadWindowStyle}" />
    </ResourceDictionary>
</Application.Resources>

   However, when I add these three items to my MergedDictionaries (I have one already that works fine) when I compile I get an error "IO Exception: Cannot location resource "themes/system.windows.xaml".  

   My project references System.Windows, Telerik.Windows.Controls, and many others.  Where can I get this system.windows.xaml from?

 

Masha
Telerik team
 answered on 21 Jul 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Toby
Top achievements
Rank 3
Iron
Iron
Benjamin
Top achievements
Rank 2
Iron
Veteran
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
minh
Top achievements
Rank 2
Iron
Iron
Iron
Sebastien
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Toby
Top achievements
Rank 3
Iron
Iron
Benjamin
Top achievements
Rank 2
Iron
Veteran
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
minh
Top achievements
Rank 2
Iron
Iron
Iron
Sebastien
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?