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

Set Title of SfTabItem

Hello

How can I set the title of a SfTabItem object from a button click?

Here is what I have tried:

Code:

        private void Button_Clicked(object sender, EventArgs e)
        {
            this.tabTitle.Title = "Clickced!";
        }

XAML:

            <tabView:SfTabItem x:Name="tabTitle"
                               Title="My Title">
                <tabView:SfTabItem.Content>
                    <Button Text="click" Clicked="Button_Clicked"/>
                </tabView:SfTabItem.Content>
            </tabView:SfTabItem>

The title does not change. If I debug the application, I can see that the actual value 'this.tabTitle.Title' has changed, but it is not reflected in the display.

Thank you for your help,

Richard

3 Replies

DR Dhanasekar R Syncfusion Team March 11, 2019 12:05 PM UTC

Hi Richard,      
      
Greetings from Syncfusion.  
      
We have validated the reported problem and we would like to inform you that this problem has been fixed in NuGet version 16.4.0.54. So, please use our upgraded NuGet version in your application to resolve this problem.       
  
Please get back to us if you are still facing the problem in latest version.  
      
Regards,      
Dhanasekar   
 



RI Richard March 12, 2019 06:57 AM UTC

Thank you. That fixes this issue.


DR Dhanasekar R Syncfusion Team March 13, 2019 12:30 PM UTC

Hi Richard, 
 
Glad that issue has been resolved. Please get back to us if any further assistance on this. 
 
Regards, 
Dhanasekar 


Loader.
Live Chat Icon For mobile
Up arrow icon