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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Title

Thread ID:

Created:

Updated:

Platform:

Replies:

131739 Jul 25,2017 03:23 PM UTC Jul 26,2017 08:42 AM UTC WPF 1
loading
Tags: ChromelessWindow
josep
Asked On July 25, 2017 03:23 PM UTC

Hi folks,

please let me know how add at code behind, title property. I need to set programatically the window title.

Cheers

Vijayalakshmi Roopkumar [Syncfusion]
Replied On July 26, 2017 08:42 AM UTC

Hi Josep

Thank you for contacting Syncfusion Support.

You can set the title of the ChromelessWindow using its Name attribute in code behind. The same has been demonstrated in our sample. Please download the sample and code example below.  
Code Example: 
XAML 
<syncfusion:ChromelessWindow x:Class="ChromelessWindow_new.MainWindow" 
xmlns:local="clr-namespace:ChromelessWindow_new" 
mc:Ignorable="d" x:Name="ChromelessWindow" 
Height="350" Width="525" WindowStartupLocation="CenterScreen"> 
<Grid> 
</Grid> 
</syncfusion:ChromelessWindow> 
 
 
C# 
 
ChromelessWindow.Title = "NewChromelessWindow"; 
 
 
  

Please try this solution and let us know if it helps.

Regards,
Vijayalakshmi V.R.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;