XAML/Silverlight CheckBox ToolTip
Im trying to add a tooltip to a checkbox in XAML, however all i get is errors:
<ToolTipService.ToolTip>
<ToolTip x:Name="ToolTipDelete" Content="Delete" />
</ToolTipService.ToolTip>
Anyone know how I might add this to a checkbox?
Sil开发者_如何学Pythonverlight 2.
Simple text:
<CheckBox ToolTip="Delete"/>
More control over display:
<CheckBox>
<CheckBox.ToolTip>
<TextBlock>Delete</TextBlock>
</CheckBox.ToolTip>
</CheckBox>
Silverlight 4
It worked for me
<CheckBox>
<ToolTipService.ToolTip>
<TextBlock>Voluntary</TextBlock>
</ToolTipService.ToolTip>
</CheckBox>
精彩评论