Center Sigmented and add tooltips

This commit is contained in:
Aleh Khantsevich
2024-09-01 01:12:00 +02:00
parent 24c8cfd402
commit cb05e58f1e
2 changed files with 8 additions and 4 deletions

View File

@@ -115,6 +115,12 @@ namespace Wino.Behaviors
DataContext = mailOperationMenuItem,
};
ToolTip toolTip = new ToolTip
{
Content = label
};
ToolTipService.SetToolTip((DependencyObject)menuItem, toolTip);
((AppBarButton)menuItem).Click -= Button_Click;
((AppBarButton)menuItem).Click += Button_Click;
}