When using a RadWindow with ResizeMode="CanMinimise" and RadWindowInteropHelper.ShowInTaskbar="True" the close button is moved to the left, which is an unexpected behaviour. Note this doesn't occur when the RadWindowInteropHelper is not used
Hello Albie,
Thank you for the report. This is an issue in the Material theme of RadWindow and it appears because of a MinWidth setting in the ControlTemplate of the window.
To work it around, you can extract the ControlTemplate of RadWindow (for the Material theme) and remove or alter the following trigger.
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=(navigation:RadWindowInteropHelper.ShowInTaskbar)}" Value="True"/>
<Condition Value="True">
<Condition.Binding>
<MultiBinding Converter="{StaticResource MultiBindingBooleanOrConverter}" Mode="OneWay">
<Binding Path="WindowState" RelativeSource="{RelativeSource Self}" Mode="OneWay" Converter="{StaticResource EnumToBooleanConverter}" ConverterParameter="Normal"/>
<Binding Path="WindowState" RelativeSource="{RelativeSource Self}" Mode="OneWay" Converter="{StaticResource EnumToBooleanConverter}" ConverterParameter="Maximized"/>
</MultiBinding>
</Condition.Binding>
</Condition>
</MultiDataTrigger.Conditions>
<Setter TargetName="HeaderButtonsColumn" Property="MinWidth" Value="144"/>
</MultiDataTrigger>
Regards,
Martin Ivanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.