摘要: 4 kinds of RelativeSourcemode(MSDN)Self:If you want to bind to another property on the object:{Binding Path=PathToProperty, RelativeSource={RelativeSource Self}} Imagine this case, a rectangle that we want that its height is always equal to its width, a square let's say. We can do this using the 阅读全文
posted @ 2013-05-23 18:07 若愚Shawn 阅读(378) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/5584948/format-date-time-in-xaml-in-silverlighthttp://matthiasshapiro.com/2010/05/28/silverlight-4-binding-and-stringformat-in-xaml/http://www.codeproject.com/Articles/195436/Formatting-text-in-Silverlight-XAML-using-StringFohttp://msdn.microsoft.com/en-us/library/ 阅读全文
posted @ 2013-05-23 16:15 若愚Shawn 阅读(163) 评论(0) 推荐(0) 编辑