【发布时间】:2014-02-21 21:49:36
【问题描述】:
我是 Silverlight 5、Visual Studio 2012、C#、Blend 的新手...
我正在使用此示例向我的 DataGrid 添加工具提示:
var style = new Style(typeof(System.Windows.Controls.Primitives.DataGridColumnHeader)); style.Setters.Add(new Setter(ToolTipService.ToolTipProperty, "Este es mi ToolTip"));
myDataGrid.ColumnHeaderStyle = style;
但是这个 ToolTip 是放在每个 cols 中的,我如何为每个 col 做一个不同的 TolTip??
谢谢,来自墨西哥的问候
【问题讨论】:
-
为什么不能输入你的 xaml 代码?你想动态做吗?
-
不...见下文
标签: c# silverlight datagrid