Hello,
I'm trying to use the Office2016 theme colors in one of my controls.
To do this, I've used the following XAML:
<ResourceDictionary xmlns:tk="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:osctrl="clr-namespace:OrdinaSoft.Windows.Controls"> <ResourceDictionary.MergedDictionaries> <tk:Office2016ResourceDictionary /> </ResourceDictionary.MergedDictionaries> <Style TargetType="osctrl:osRadGroupBox"> <Setter Property="BorderBrush" Value="{StaticResource BasicBrush}" /> <Setter Property="HeaderBrush" Value="{StaticResource AccentBrush}" /> <Setter Property="HeaderForeground" Value="{StaticResource MainBrush}" /> </Style></ResourceDictionary>
Unfortunately, this doesn't work! When I run the application I have the following error: "Cannot find resource named 'BasicBrush'. Resource names are case sensitive."
If I look with the debugger just after the resource dictionary is loaded, I can see the resources defined, including BasicBrush!
If I define myself the brushes, with "<Brush x:Key="AccentBrush">#FF2A579A</Brush>" for example, it works correctly.
Why can't I use the Office2016 resources directly?
Hi All,
I have a big C++ MFC solution, which opens WPF dialogs with Telerik RadCartesianChart.
When the ViewModel is static (singleton) I have memory leak.
Reporting version 10.0.16.204 Q1 2016 SP1
WPF controls version 2016.1.217.45
On the attached MFC project ,When you press the OK Button, the
WPF dialog is opened.
On each button pressed, the dialog shows the delta of the memory consumption on
top of the dialog.
If the view model is not static or the DataSource is not connected in the XAML
I don’t have any memory leaks.
However, if both condition applies the memory leak happens.
link to the solution VS2013
https://drive.google.com/file/d/1U9Bd9ox8c-IKX5lRcFOKdnVlxoSywTbY/view?usp=sharing
Thanks
Ron

Some times when I place a gauge the GaugeRange Background is off. Im not sure where to start looking for this issue.
Im using a vdi. Next thought is to try on an actual box. See attachement

Hey,
I have a Chart with multiple stacked BarSeries. My Top series has to Labels, one to display its own value, one for the sum of the stacked ones combines.
The problem is, that this:
<telerik:ChartSeriesLabelDefinition HorizontalAlignment="Center" VerticalAlignment="Top" >
<telerik:ChartSeriesLabelDefinition.Template>
<DataTemplate>
<TextBlock Text="{Binding DataItem.ReklasGesamt}" FontWeight="Bold" />
</DataTemplate>
</telerik:ChartSeriesLabelDefinition.Template>
</telerik:ChartSeriesLabelDefinition>
Won't resize if the value changes. So if the value was two digits and gets three it will cut off.
If I don't spezify a template it will resize, but will obviously not display the value I want.
Is there any way to get the label to resize? Ordo I have to add a invisble Pointseries?
Greetings
Benedikt
Hello,
We'd like to make a Multi-Level Swimlanes project such as the attached image.
The lanes should support drag and drop (reordering), resizing, collapsing and etc like in the real demo of the WPF Swimlane Example.
Let me know if you can provide me an example project.
Regards,

Hi dear Telerik Team,
On right clicking I want to open a radial menu. But the standard context menu appears.
How can I disable the context menu and replace by the radial menu?
Thank you.

Our application has to display various different map background layers. We use both MercatorProjection and EPSG900913Projection depending on which map we are displaying. Furthermore we use EPSG900913Projection to display data from an image file, using a custom provider derived from UriImageProvider. For this scenario we need to be able to set a maximum zoom level of 30. When switching between different map backgrounds we try to reset the state of the map control. These are the steps we take to try and do this:
//Workaround for modern client crash when disposing telerik control (switching between maps)if (RadMap?.Items?.Count > 0){ foreach (var radMapItem in RadMap.Items) { var visualizationLayer = radMapItem as VisualizationLayer; visualizationLayer?.Items?.Clear(); }}DetachRadMapHandlers();DetachViewModelHandlers(_viewModel);DisposeMapLayers();// Reset state of RadMapRadMap.ItemsSource = null;foreach (var provider in RadMap.Providers){ provider.Dispose();}RadMap.Provider = null;RadMap.Providers.RemoveAll();;// if we're re-using this control we must change the min/max zoom before changing spatial referenceRadMap.MinZoomLevel = MapConstants.DefaultMapMinZoomLevel;RadMap.MaxZoomLevel = MapConstants.DefaultMapMaxZoomLevel;_defaultMinZoomLevel = MapConstants.DefaultMapMinZoomLevel;_defaultMaxZoomLevel = MapConstants.DefaultMapMaxZoomLevel;// we need to set the zoom level to a value in the allowable zoom range// before assigning another backgroundRadMap.ZoomLevel = MapConstants.DefaultMapMinZoomLevel;RadMap.SpatialReference = new MercatorProjection();MiniMap.SpatialReference = new MercatorProjection();RadMap.GeoBounds = new LocationRect();RadMap.Center = new Location();RadMap.GeoBoundsNW = Location.Empty;RadMap.GeoBoundsSE = Location.Empty;
Unfortunately this doesn't always seem to work. In particular I notice that this does not set the GeographicalBounds back the the initial state (I don't know if this is significant). It won't be easy to create a sample app to try and isolate this problem but if you have any suggestions on how better to restore the map control to it's initial state I'd appreciate it.
Thanks
Pete
Hi,
I am using RadScheduleView in a WPF application. I have a requirement where if an appointment is scheduled from 10.00-11.00 , the next time when I click on scheduler control to schedule an appointment, the calendar corresponding to start time and end time should have the 10.00 and 11.00 in disabled state.
How can I achieve that?
Thanks,
Divya

I would like to know how to get my CustomMapping to run the Apply method. I have a list of animals and the speed of the animals should control the colour of the treemapitem. However when the animals speed changes then the treemap tiles don't change colour but on startup the colours visible. They just never change. When the animals size changes the tiles do reflect the changes. How do I run the Apply method?
<telerik:RadTreeMap x:Name="treeMap" ItemsSource="{Binding TreeMapList}" LayoutStrategy="Squarified"> <telerik:RadTreeMap.TypeDefinitions> <telerik:TypeDefinition TargetTypeName="TreeMapItem" ValuePath="AnimalSize" LabelPath="Animal" ToolTipPath="ToolTip"> <telerik:TypeDefinition.Mappings> <local:ValueColourMapping MinValue="{Binding MinCurrentSpeed}" MaxValue="{Binding MaxCurrentSpeed}" Field="CurrentSpeed" /> </telerik:TypeDefinition.Mappings> </telerik:TypeDefinition> </telerik:RadTreeMap.TypeDefinitions> </telerik:RadTreeMap>

Hi All,
I am using radwindow as a child window in my application. Programatically I am trying to set child window behind main window.Window state 'Minimized' minimizes window so doesn't help.
How to set child window behind main window and vice versa without changing window state?
Any help would be appreciated.
Regards,
Prashant
