摘要:
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 阅读全文
摘要:
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/ 阅读全文