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

ShowDialog and Move with TouchMove Event

Hi,

I am displaying a window as a Popup via the ShowDialog() method (TouchMove Event), the WindowsState property is set to Normal.

When I try to move it with the mouse everything is ok, if I try to move it with the touch I have to make more touches on the title then I can drag.

It doesn't seem to take the touch.


6 Replies

KA Karthick Arjunan Syncfusion Team March 13, 2023 12:27 PM UTC

Hi Edoardo,

We were unable to reproduce the reported issue with provided details. We have attached the tested sample for your reference and also attached the video reference in which we moved it with the touch and it works fine as expected.

Could you please provide us more details such as complete code snippet or revert us with modify the attached sample in the reproduced state that will be helpful us to provide the solution as soon as possible.

Regards,

Karthick Arjunan



Attachment: ChromelessWindowDragDemo_b1321e64.zip


EG Edoardo Gazzola March 13, 2023 02:48 PM UTC

Hi  Karthick,

It actually works, I think it's a small titlebar problem.

I noticed that it is possible to increase the height via the "TitleBarHeight" property but in the attached project it doesn't work.

Do you know if it is possible to increase the icons as well...?


Thank you


Attachment: wpfappmaster_77247db7.zip


KA Karthick Arjunan Syncfusion Team March 14, 2023 02:26 PM UTC

Edoardo,

We are currently checking with our development team and update the complete details by tomorrow (March 15, 2023).  We appreciate your patience until then.



EG Edoardo Gazzola March 14, 2023 02:28 PM UTC

Hi  Karthick,

Perfect ... I await your directives.

Regards



KA Karthick Arjunan Syncfusion Team March 15, 2023 12:50 PM UTC

Edoardo,

You can increase the icon size by adding icon with Image using the LeftHeaderItemsSource property of ChromelessWindow and disable the default icon by setting ShowIcon as False as per the below code snippet.


<syncfusion:ChromelessWindow x:Class="Keyboards.KeypadWindow"

                             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:local="clr-namespace:Keyboards"

                             xmlns:syncfusion=http://schemas.syncfusion.com/wpf

                             xmlns:uc="clr-namespace:Keyboards.UC"

                             xmlns:listCollection="clr-namespace:System.Collections;assembly=mscorlib"

                             mc:Ignorable="d"

                             Title="Keypad" Height="450" Width="350"

                             ShowIcon="False" TitleBarHeight="50"

                             TitleFontSize="20">

    <syncfusion:ChromelessWindow.LeftHeaderItemsSource>

        <listCollection:ArrayList>

            <Image

                Width="40"

                Height="40"

                Margin="5,5,0,5"

                Source="/Keyboards;component/Images/Boxes.ico" />

        </listCollection:ArrayList>

    </syncfusion:ChromelessWindow.LeftHeaderItemsSource>

</syncfusion:ChromelessWindow>

 


We have also attached the modified sample for your requirement. Please download the sample in the attachment and let us know if you have any other queries.


Attachment: wpfappmaster_77247db7_(2)_5552ad3a.zip


EG Edoardo Gazzola March 15, 2023 03:13 PM UTC

Thank you Mr Karthick...

Great job done


Loader.
Up arrow icon