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

Title

Hi folks,

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

Cheers

1 Reply

VR Vijayalakshmi Roopkumar Syncfusion Team 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.  


Loader.
Up arrow icon