吴佳鑫的个人专栏

当日事当日毕,没有任何借口

导航

2012年8月16日

silverlight 转换器经典demo

摘要: 当在 文本框中输入 大于0时,会显示向上的箭头,输入等于0时,会显示一条横线,输入小于0时,会显示向下的箭头。前台XAML代码:<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc 阅读全文

posted @ 2012-08-16 22:25 _eagle 阅读(784) 评论(0) 推荐(1) 编辑

silverlight Binding 详解

摘要: 这个日记介绍:•Binding with Tools (在blend中绑定)•Binding with Handwriting (在代码中手工绑定)一、数据源绑定一般我们在做demo时会提供一些示例数据,在blend中,创建示例数据源是非常简单的。下面介绍两种数据源的创建方法。在blend中,点击data面板,会见到两个类型饼图的小图标。1、Single Data (右边的按键)2、List Data (左边的按键)下图为创建 Single Data 数据源:创建这种的示例数据源,可以提供给单个对象使用。比例下图的一个Point对象(需要一个X轴和Y轴数据)下图为创建List Data 数据源 阅读全文

posted @ 2012-08-16 01:46 _eagle 阅读(3917) 评论(0) 推荐(0) 编辑