嗨,我有一个ToggleButton
与ToolTip
,ToolTip
的内容绑定与Text
属性。现在我需要在ToggleButton
内对我的ToolTip
进行设计。我知道它不允许我在ToggleButton
之内申请ToolTip
的款式,我不知道该怎么做?任何建议,非常感谢。Wpf工具提示样式
这里是我的代码看起来
<ToggleButton x:Name="btn" ToolTip="{Binding ElementName=tbText, Path=Text, Mode=TwoWay}" Margin="10,0,0,20" Style="{StaticResource bubbleStyle}" />
感谢ü@sthotakura,其做工精细 –