Currently I'm using a ProjectItem classes and FileItem classes into a RadTreeView for displaying the ProjectItem content. And when I'm trying to handle the Edited event, there occurs a problem with Old and New value, in case that given objects to RadTreeView.ItemsSource will be a reference type, it might create a problem.
I would like to handle the Edited event for checking the NewValue, and according to conditions return there a OldValue.

<tk:RadPanelBar x:Name="PanelBar" BorderThickness="0"
Padding="0 3 0 0"
tk:AnimationManager.IsAnimationEnabled="True"
SelectedItem="{Binding CurrentAnalysisCategory, Mode=TwoWay}"
ItemsSource="{Binding AnalysisCategories}"
VerticalContentAlignment="Stretch"
VerticalAlignment="Stretch">
<tk:RadPanelBar.Resources>
<DataTemplate DataType="{x:Type avm:RoutinesVm}">
<views:RoutinesPanel />
</DataTemplate>
<DataTemplate DataType="{x:Type avm:MeasurementsVm}">
<views:MeasurementsPanel/>
</DataTemplate>
<DataTemplate x:Key="ViewTemplate">
<ContentPresenter Content="{Binding}" />
</DataTemplate>
</tk:RadPanelBar.Resources>
<tk:RadPanelBar.ItemTemplate>
<HierarchicalDataTemplate
ItemsSource="{Binding Data}"
ItemTemplate="{StaticResource ViewTemplate}">
<TextBlock Text="{Binding Name}" HorizontalAlignment="Center" VerticalAlignment="Center" />
</HierarchicalDataTemplate>
</tk:RadPanelBar.ItemTemplate>
<tk:RadPanelBar.ItemContainerStyle>
<Style TargetType="{x:Type tk:RadPanelBarItem}">
<Setter Property="Padding" Value="3"/>
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
<Setter Property="MinHeight" Value="0"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="MaxHeight" Value="{Binding ElementName='Root', Path=MaxItemHeight}"/>
<Setter Property="MaxWidth" Value="{Binding RelativeSource={RelativeSource AncestorType={x:Type views:ScanImagePanel}}, Path=ActualWidth}"/>
<Setter Property="tk:AnimationManager.AnimationSelector" Value="{StaticResource FastAnimator}"/>
</Style>
</tk:RadPanelBar.ItemContainerStyle>
</tk:RadPanelBar>


See the following:
I cannot reproduce using a simple test project. I am attaching a Word VSTO project that is a test version. I have removed packages which included Fody PropertyChanged and the Telerik Xaml controls.
We are seeing a Dispatch Processor error in Word when the HighlightText is enabled. It goes away if that is removed. Our VSTO project is way too large to easily demo but we passed QA if that HighlightText is removed. Why that is happening is hard to say since Word COM provides little to no information on the issue.
I will compare code against Vladimir's sample and see if I can spot differences. Will get back if something pops out.

As you can see in the picture the button just gets cut. It only does this if the hight is less than 38
<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="70"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid Grid.Row="1" >
<telerik:RadDropDownButton HorizontalAlignment="Right" Margin="0,0,20,10" Background="#EFEFEF" Padding="5,0,0,0"
Height="24" BorderThickness="1" BorderBrush="LightGray" CornerRadius="5" telerik:StyleManager.Theme="Windows11" >
<telerik:RadDropDownButton.Content>

Hi,
I used ExplorerControl to create a custom FileOpen Dialog.
Now I want to include a file preview when clicking on a file of specific type.
Unfortunately I cannot find a way to get notified by a change of selected Filename.
Is there a way to do that?
Best Regards,
Dominic

I have the following XAML code:
<telerik:RadMultiColumnComboBox
VerticalAlignment="Top"
Width="250"
DisplayMemberPath="Name"
IsReadOnly="True"
SelectionMode="Single"
SelectionBoxesVisibility="Hidden"
CloseDropDownAfterSelectionInput="True"
DropDownWidth="320"
SelectedItem="{Binding SelectedMandant}">
<telerik:RadMultiColumnComboBox.ItemsSourceProvider>
<telerik:GridViewItemsSourceProvider ItemsSource="{Binding MandantCollection}" AutoGenerateColumns="False" RowIndicatorVisibility="Hidden">
<telerik:GridViewItemsSourceProvider.Columns>
<telerik:GridViewDataColumn Header="Mandant" DataMemberBinding="{Binding Path=Name}"/>
<telerik:GridViewDataColumn
Header="Letzter Abschluss"
DataMemberBinding="{Binding Path=FibuAbschluss}"
DataFormatString="{} {0:dd.MM.yyyy}"
TextAlignment="Center"
HeaderTextAlignment="Center"/>
</telerik:GridViewItemsSourceProvider.Columns>
</telerik:GridViewItemsSourceProvider>
</telerik:RadMultiColumnComboBox.ItemsSourceProvider>
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding EventName="SelectionChanged" Command="{Binding SelectedMandantChangedCmd}" RaiseOnHandledEvents="True" PassEventArgsToCommand="True"/>
</telerik:EventToCommandBehavior.EventBindings>
</telerik:RadMultiColumnComboBox>Now everything works fine beside that the first time when the UI is rendered, the RadMultiColumnComboBox Input does not show the current selected item.
I set the SelectedItem in the constructor of my view model:
private Mandant? _selectedMandant;
public Mandant? SelectedMandant
{
get => _selectedMandant;
set
{
_selectedMandant = value;
OnPropertyChanged();
}
}
public KontoViewModel(CommonDbContext commonDbContext, StruebyWinBContext winBContext)
{
......
if(MandantCollection.Count > 0)
{
SelectedMandant = MandantCollection[0];
......
}
.......
}
I see that the SelectedMandat has a value and also it works fine after i select another item, then the item shows.
But the first time after loading, the RadMultiColumnComboBox Input does not show any value, its empty.
It should show the selected item that i set in the constructor of my view model.
Can anyone help me here, thanks
RadCircularProgressBar cannot set width and heighth!
What ever height and width I set for the RadCircularProgressBar, the total pane never change its size.
Its so stange, I want a small RadCircularProgressBar, how can i do it? it just keeps its original size.
<telerik:RadCircularProgressBar Grid.Row="3" Grid.Column="0"Hi,
I have this code and i do not know how to bind to a view model command when i check a checkbox or when i write in a column.
<UserControl x:Class="WISN.Windows.Survey.FacilityStaffControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="clr-namespace:WISN.Windows.Survey.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<telerik:RadTreeListView x:Name="stufftreeListView" AutoGenerateColumns="False"
AutoExpandItems="True" GroupRenderMode="Flat" CanUserDeleteRows="False"
ItemsSource="{Binding AllStaffByType,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged }">
<telerik:RadTreeListView.ChildTableDefinitions>
<telerik:TreeListViewTableDefinition ItemsSource="{Binding StaffCategories,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"></telerik:TreeListViewTableDefinition>
</telerik:RadTreeListView.ChildTableDefinitions>
<telerik:RadTreeListView.Columns>
<telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding IsSelected}" AutoSelectOnEdit="True" EditTriggers="CellClick">
<telerik:EventToCommandBehavior.EventBindings>
<telerik:EventBinding Command="{Binding CustomCommandCommand}" EventName="MouseLeftButtonDown" />
</telerik:EventToCommandBehavior.EventBindings>
</telerik:GridViewCheckBoxColumn>
<telerik:GridViewDataColumn IsReadOnly="True" DataMemberBinding="{Binding Name}" Header="Stuff"></telerik:GridViewDataColumn>
<telerik:GridViewDataColumn DataMemberBinding="{Binding AnnualSalary}" Header="Annual Salary"></telerik:GridViewDataColumn>
</telerik:RadTreeListView.Columns>
</telerik:RadTreeListView>
</UserControl>
Thanks