C# 添加图像控件上的工具提示
我正在列表控件的图像上添加工具提示文本C# 添加图像控件上的工具提示,c#,windows-phone-8,C#,Windows Phone 8,我正在列表控件的图像上添加工具提示文本 <Image Name="testimage1" Visibility="Visible" Height="30" Width="30" Source="/Assets/icons/files.png" Margin="0,0,10,0"> <ToolTipService.ToolTip> <ToolTip Content="test content"></ToolTip> &
<Image Name="testimage1" Visibility="Visible" Height="30" Width="30" Source="/Assets/icons/files.png" Margin="0,0,10,0">
<ToolTipService.ToolTip>
<ToolTip Content="test content"></ToolTip>
</ToolTipService.ToolTip>
</Image>
但是工具提示没有显示出来。请任何人都可以帮忙
谢谢您可以像这样在C#中设置工具提示属性
ToolTip="Test Content"
<Image Name="testimage1" Visibility="Visible" Height="30" Width="30" Source="/Assets/icons/files.png" Margin="0,0,10,0" ToolTip="Test Content">
ToolTip=“测试内容”
正如您在评论中提到的,Windows Phone上没有工具提示。当没有真正的悬停时,显示工具提示会发生什么情况
您可以尝试上述方法工具提示属性在windows phone toolkit中不可用。我还尝试将ToolTipService.ToolTip用作