I want to hide only the horizontal or vertical scrollbar. Is that possible ?
The only solution I found now is the following style :
<Style TargetType="telerik:PanZoomBar"> <Setter Property="Visibility" Value="{Binding Customization.ChartZoomMode, Converter={StaticResource ChartScrollbarVisibilityConverter}}"/> </Style>The problem here is that it is hiding both Scrollbars. Is there a option where I can decide which one I want to hide ?
How can I use correctly the above xaml in code behind ?
This is not working :
return new RadCartesianChart { //Resources = new ResourceDictionary() //{ // {"HideScrollBarStyle", new Style(typeof(PanZoomBar)) // { // Setters = // { // new Setter() // { // Property = ContentControl.VisibilityProperty, // Value = Visibility.Collapsed, // } // } // } // } //}, HorizontalAxis = new CategoricalAxis() { LabelFitMode = AxisLabelFitMode.Rotate, PlotMode = hasBarSeries ? AxisPlotMode.BetweenTicks : AxisPlotMode.OnTicks, Title = Customization.XAxisName?.ToUpper(), SmartLabelsMode = AxisSmartLabelsMode.SmartStep , LabelTemplate = new DataTemplate() { VisualTree = xAxisFormat, }, //GapLength = 0.15, }, VerticalAxis = this.HasMultipleAxis ? null : GetYAxis(), SmartLabelsStrategy = new ChartSmartLabelsStrategy() { ShouldMinimizeConnectorConflicts = true, },.................


I am using RadSpellChecker to spell check a WPF TextBox. In a different area of my application, I am using RadRichTextBox and I have a custom dialog for spell checking. When I spell check the WPF TextBox, I get the built-in spell checking dialog instead of my custom dialog. Is there a way to also use the custom dialog when spell checking a WPF TextBox?
Brian

I have created a simple project to start working RadImageEditor.
The problem is that my image doesn't display in the editor at all. Even when I execute the Open command of the ImageEditor.
I'm not sure if the ImageEditor isn't visible or the image doesn't get loaded inside of it.
Since I'm not allowed to attach a zip file I'll add the code of each class of my project:
MainWindow.Xaml:
<Window x:Class="WpfApp4.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadImageEditor HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ScaleFactor="0" x:Name="ImageEditor" Background="Red"/>
<Button Click="Button_Click" Content="Load picture" Grid.Row="1" />
</Grid>
</Window>
MainWindow.Xaml.cx:
namespace WpfApp4
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
ImageExampleHelper.LoadSampleImage(this.ImageEditor, "RadImageEditor.png");
}
private void Button_Click(object sender, RoutedEventArgs e)
{
this.ImageEditor.Commands.Open.Execute(this.ImageEditor);
}
}
}
ImageExampleHelper.cs:
public class ImageExampleHelper
{
public static void LoadSampleImage(RadImageEditor imageEditorUI, string image)
{
Stream stream1 = File.OpenRead("D://test image//radImageEdito.png");
string extension = Path.GetExtension("D://test image//radImageEdito.png").ToLower();
IImageFormatProvider formatProvider = ImageFormatProviderManager.GetFormatProviderByExtension(extension);
if (formatProvider != null)
{
imageEditorUI.Image = formatProvider.Import(stream1);
imageEditorUI.ApplyTemplate();
imageEditorUI.ScaleFactor = 0;
}
stream1.Close();
}
}
Thanks!
Mahdieh,

Hi,
I'm trying to apply a red color outer border for the funnel filtering icon when filter is applied to indicate the filter is active.
Looking at the documentation, I see 4 Path elements for PART_DropDownButton.
https://docs.telerik.com/devtools/wpf/controls/radgridview/styles-and-templates/templates-structure#filteringdropdown
But I only see 2 Path elements under DistinctFilterControlTemplate from GridView xaml (as shown in below code block). 2 of the paths from documentation indicate the outer border and background when filtering is applied.
Please guide me here on how to proceed to apply a red border when filtering is active.
<ControlTemplate TargetType="grid:FilteringDropDown" x:Key="DistinctFilterControlTemplate"> <Grid> <Button x:Name="PART_DropDownButton"> <Button.Template> <ControlTemplate TargetType="Button"> <ContentPresenter/> </ControlTemplate> </Button.Template> <Border Cursor="Hand" MinWidth="22" Background="Transparent"> <Grid> <Path Data="M0.93340254,0 L4.934082,0 L6.934082,0 L10.93358,0 C11.996876,0 12.199773,0.75 11.668063,1.359375 L8.4335356,5.5 C8.100522,5.8975558 7.983531,6.062263 7.9429321,6.2736206 L7.934082,6.3298788 L7.934082,10.332101 C7.934082,10.332101 3.9340818,14.997499 3.9340818,14.997499 L3.9340818,6.3293748 L3.9286206,6.3012671 C3.8825667,6.1045012 3.751812,5.9296875 3.3865709,5.5 L0.24589038,1.40625 C-0.2067349,0.84375 -0.066181421,1.2241071E-16 0.93340254,0 z" Fill="{telerik:Windows8Resource ResourceKey=StrongBrush}" Stretch="Fill" Margin="2 1 2 2" Width="8" Height="11"/> <Path Data="M0.93340254,0 L4.934082,0 L6.934082,0 L10.93358,0 C11.996876,0 12.199773,0.75 11.668063,1.359375 L8.4335356,5.5 C8.100522,5.8975558 7.983531,6.062263 7.9429321,6.2736206 L7.934082,6.3298788 L7.934082,10.332101 C7.934082,10.332101 3.9340818,14.997499 3.9340818,14.997499 L3.9340818,6.3293748 L3.9286206,6.3012671 C3.8825667,6.1045012 3.751812,5.9296875 3.3865709,5.5 L0.24589038,1.40625 C-0.2067349,0.84375 -0.066181421,1.2241071E-16 0.93340254,0 z" Fill="{telerik:Windows8Resource ResourceKey=AccentBrush}" Width="8" Height="11" Visibility="{TemplateBinding FunnelFillVisibility}" Margin="2 1 2 2" Stretch="Fill"/> </Grid> </Border> </Button> <Popup x:Name="PART_DropDownPopup" StaysOpen="True" AllowsTransparency="True" PopupAnimation="Slide"/> </Grid></ControlTemplate>
I need to create a container something like image target.png.
I've been looking at building this using nested containers (see 1.png)
The first issue I have is when you collapse the inner container, you still get a small body area (see 2.png), how do I get rid of this?
The other thing to note here is that collapsing the inner container also moves the connection point to the bottom of the header - which seems like a sensible place for it to move to.
The main issue occurs if you collapse the outer container (see 3.png)
Now the connection point from the inner container moves to the center of the header block. How do I make it behave like it did when only one level is collapsed (i.e. move to the bottom right of the header block?

Hi team,
How can I restore the "default" location of all floating windows when restoring the docking layout from the saved XML? That is, windows can be floated and arranged in any configuration, then saved - however, on restore any floating windows will be re-docked back to the XAML defined location for that panel.
Thanks,
Maurice

Hi,
I have a grid with 18 columns of which are only 3 are editable. ( 3 ReadOnly - 3 Editable - 12 ReadOnly)
The grid is bound to a viewmodel via ItemsSource.
So the other columns (GridViewDataColumn) are set to IsReadOnly="True" and TabStopMode="Skip"
If the user enters data there is a delay of 1-1.5 sec after the last editable cell (when the selection goes over the 15 non-selectable cells and goes to the next row)
If I add columns the problem get even worse.
[The Telerik.Windows.Controls.GridView version is 2018.1.220.45]

Hi there everyone,
I am currently trying to bind the DateTimeComponent attribute of the DateTimeCategoricalAxis to a property of my ViewModel. However, when I try to debug the application, it throws an exception essentially saying that I can't bind the DateTimeComponent as it is not a DependencyProperty. Granted, I am no expert at WPF, however reading this prompted me to think that this was no error on my side but rather a conscious decision made by Telerik. So currently I am looking for a way to dynamically set the units which are displayed on the x-axis of my chart. If you guys have any idea how I can get that to work with the DateTimeCategoricalAxis, that would be great, however solutions with other axes are also okay (DateTimeContinuousAxis does not work either, but for different reasons).
Thanks in advance for your replies!
Best regards
Nico