摘要:用索引属性做为databinding的数据源时,path要用中括号括起来,如下:Binding="{Binding Path=[path]}"若要实现PropertyChanged,参见下面的链接:http://stackoverflow.com/questions/657675/propertychanged-for-indexer-property
阅读全文
08 2011 档案
摘要:客户希望系统在一些特定的条件下,界面上能显示用户自定义的格式和内容,格式和内容通过html指定。基本上在wpf中显示html有以下四种方法。1. Wpf Frame controlthis.frame1.Navigate(uri);this.frame1.Source = uri;无法直接指定html内容。2. Wpf WebBrowser controlthis.webBrowser1.Navigate(source);this.webBrowser1.NavigateToStream(stream);this.webBrowser1.NavigateToString(html);this.
阅读全文
浙公网安备 33010602011771号