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