We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

ChromelessWindow cannot resize diagonally

Hello,

my ChromelessWindow is set to ResizeMode="CanResize". This works for horizontally and vertically resizing. However I am not able to resize it diagonally and cannot find a solution for this.

Thank you for your help!



<syncfusion:ChromelessWindow x:Class="CCC.WPF.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:system="clr-namespace:System;assembly=System.Runtime"
        xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Shared;assembly=Syncfusion.Shared.WPF"
        xmlns:skin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
        skin:SfSkinManager.Theme="{skin:SkinManagerExtension ThemeName=MaterialDark}" Background="{StaticResource Background}"
        mc:Ignorable="d"
        Closed="ChromelessWindow_Closed"
        Title="{Binding SelectedItem, ElementName=NavigationMenuListBox,Converter={StaticResource TitleConverter}}" ResizeMode="CanResize" Icon="/Resources/Logo48.png" d:DesignHeight="800" d:DesignWidth="1280" TitleFontSize="13" TitleTextAlignment="Center" TitleBarForeground="{StaticResource Foreground}" TitleBarBackground="{StaticResource Background}" ResizeBorderThickness="5" ResizeBorderBrush="{StaticResource Background}" CornerRadius="5" AllowsTransparency="True">


    <Grid Margin="3">
    <!--...-->
    </Grid>
</syncfusion:ChromelessWindow>

1 Reply 1 reply marked as answer

KA Karthick Arjunan Syncfusion Team April 6, 2023 09:40 AM UTC

Hi Alexander,

Setting the "UseNativeChrome" property to True in the ChromelessWindow enables diagonal resizing. We have attached a sample project for your reference. Please check the sample and let us know if you have any concerns.


Regards,
Karthick Arjunan


Attachment: ChromelessWindowResizeDemo_6224b9d5.zip

Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon