Remove Title Bar from ChromelessWindow

How do you remove the title part from a ChromelessWindow?   If I set the TitleBarHeight="0" there is a line that runs across the top of the window.  




7 Replies

SA Sulthan Amanu Syncfusion Team January 18, 2022 03:48 PM UTC

Hi Andrew,


We can be able to reproduce the problem at our end. We have considered this as a bug “Line visible improperly across the top of the window when setting the TitleBarHeight to zero and corner radius” and logged a defect report in our database. We’ll provide the patch file for the reported issue on February 2th, 2022. We appreciate your patience until then.


Please follow the below feedback link for further details

Feedback link - https://www.syncfusion.com/feedback/31972/line-visible-improperly-across-the-top-of-the-window-when-setting-the 


Please let us know if you need any further assistance.


Regards,

Sulthan amanu



AS Andrew Simpson January 18, 2022 04:33 PM UTC

Thank you.  I have come up with a workaround for now by switching back to a "normal" WPF window, but look forward to your fix.  



My current solution:

<Window x:Class="FSE_Search_2022.ViewModels.ResultDetailViewWindow"

        ...

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

         Title=""

         WindowStyle="None"

         Background="Transparent"

         Width="325" Height="200"

         AllowsTransparency="True">


I then add a border around my main grid:

<Border 

CornerRadius="20" 

x:Name="MainBorder" 

BorderThickness="1" 

BorderBrush="{Binding Path=Foreground, Mode=OneWay, RelativeSource={RelativeSource FindAncestor,

 AncestorType=Window}}" >


Finally, in code behind I set the background to the theme color (because the parent window after initialization is transparent).  


 SfSkinManager.SetTheme(this, new Theme() { ThemeName = theme });

        var themeBackground = this.Background;

        InitializeComponent();

        MainBorder.Background = themeBackground;





SA Sulthan Amanu Syncfusion Team January 19, 2022 06:56 AM UTC

Hi Andrew,


You can use this workaround as a fix as a temporary solution. However, we are working on this issue report. And we will provide the patch fix as promised earlier on February 2nd.


Regards,

Sulthan amanu



SA Sulthan Amanu Syncfusion Team February 7, 2022 05:12 AM UTC

Hi Andrew,


Sorry for the inconvenience caused


We have validated the reported issue and we have fixed the reported issue on our end. So kindly let us know your current version, so that we can provide a patch for that version.


Regards,

Sulthan amanu



AS Andrew Simpson February 8, 2022 11:01 PM UTC

No issue, I am using 19.4.0.42. 



SA Sulthan Amanu Syncfusion Team February 9, 2022 03:04 PM UTC

Hi Andrew,

Thanks for your patience.

We are fixed the reported issue “Remove Title Bar from ChromelessWindow” on our end. Currently provided patch support for main release or service package version only. Since your using of 19.4.0.42 version. We have to include fixed the upcoming Weekly NuGet [15-02-2022].

The packages can be downloaded from the following link.

NuGet Link: https://www.nuget.org/ 

Please let us know if you need any further assistance on this, we will be glad to assist you.

Regards,
Sulthan amanu



SA Sulthan Amanu Syncfusion Team February 15, 2022 05:25 PM UTC

Hi Andrew,


Thanks for your patience.


The reported issue “Remove Title Bar from ChromelessWindow” has been fixed and included in Weekly NuGet [19.4.0.52] version. The packages can be downloaded from the following link.


NuGet Link: https://www.nuget.org/


Please let us know if you need any further assistance on this, we will be glad to assist you.


Regards,

Sulthan amanu


Loader.
Up arrow icon