Anv*_*aka 16
这为您提供了所有地方非常大的工具提示:
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Page.Resources>
<Style x:Key="{x:Type ToolTip}" TargetType="{x:Type ToolTip}">
<Setter Property="FontSize" Value="24"/>
</Style>
</Page.Resources>
<Grid>
<Button Content="Hey" ToolTipService.ToolTip="Hey"/>
</Grid>
</Page>
Run Code Online (Sandbox Code Playgroud)
如果要更改特定工具提示,可以将样式定义为更靠近该工具提示,或者将fontsize直接放在工具提示中:
<Button Content="Hey">
<ToolTipService.ToolTip>
<TextBlock FontSize="64" Text="Hey"/>
</ToolTipService.ToolTip>
</Button>
Run Code Online (Sandbox Code Playgroud)