随笔 - 81  文章 - 0  评论 - 248  阅读 - 69万

随笔分类 -  Silverlight

[转]silverlight Datagrid 行上增加ToolTip
摘要:有两种办法:1. 直接在后台处理在数据绑定后 ,注册LoadingRow 事件this.DataGrid.LoadingRow += new EventHandler(DataGrid_LoadingRow);void DataGrid_LoadingRow(object sender, DataGridRowEventArgs e){Task ts = e.Row.DataContext as Task;ToolTipService.SetToolTip(e.Row, ts.Name);//throw new NotImplementedException();}2. 稍微麻烦点, 重写da 阅读全文
posted @ 2013-08-16 16:29 SamWang 阅读(833) 评论(0) 推荐(0) 编辑
[转]silverlight中定义样式
摘要:作用域:定义所有的样式[html]view plaincopyprint?<Applicationxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"x:Class="SilverlightApplication1.App"><Application.Resources><StyleTargetType="But 阅读全文
posted @ 2013-03-22 11:21 SamWang 阅读(521) 评论(0) 推荐(0) 编辑
[转]Silverlight DataGrid组件具体特点详解
摘要:说明:Silverlight DataGrid组件是Silverlight数据组件中最为常用并且是功能最为强大的数据组件。因此,对开发者而言,深入了解其特性是十分有必要的。本文先介绍该组件的基本特性,接着通过几个简单实例来说明该组件的基本数据操作过程。Silverlight DataGrid组件所在命名空间:System.Windows.ControlsSilverlight DataGrid组件常用方法:BeginEdit:使DataGrid进入编辑状态。CancelEdit:取消DataGrid的编辑状态。CollapseRowGroup:闭合DataGrid的行分组。CommitEdit 阅读全文
posted @ 2013-03-21 10:13 SamWang 阅读(774) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示